Replace ContSend by CGetL+CUnsetL
commit5a98277b6c3f8dde27e7ce404e2dcb7ec5999aa2
authorMirek Klimos <miro@fb.com>
Tue, 2 Jul 2013 00:45:46 +0000 (1 17:45 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 2 Jul 2013 18:46:25 +0000 (2 11:46 -0700)
tree130dc625458b37e51eac1e86e1ade9e9a3201595
parent50b48f1dab645f71637a839810e8fb791edc9cf0
Replace ContSend by CGetL+CUnsetL

The behavior of ContSend is equivalent to CGetL+CUnsetL. Let's kill this
unnecessary opcode. Let's remove this logic from ContRaise opcode as
well.
hphp/compiler/analysis/emitter.cpp
hphp/doc/bytecode.specification
hphp/runtime/vm/bytecode.cpp
hphp/runtime/vm/hhbc.h
hphp/runtime/vm/jit/hhbctranslator.cpp
hphp/runtime/vm/jit/hhbctranslator.h
hphp/runtime/vm/jit/irtranslator.cpp
hphp/runtime/vm/jit/translator-instrs.h
hphp/runtime/vm/jit/translator.cpp
hphp/test/quick/debugger/flow_gen.php.expectf
hphp/test/quick/debugger/flow_gen.php.in