Reorder Switch immediates to put the vector last
commit5b44ea1abbca0e229f4e5acecf46d75ea8c3e3f2
authorEdwin Smith <smith@fb.com>
Thu, 10 Mar 2016 21:06:17 +0000 (10 13:06 -0800)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Thu, 10 Mar 2016 21:30:37 +0000 (10 13:30 -0800)
treed19a93c718786d654c04e044aafd474a8514ec90
parent1aa461f703155159ca4c62a4204ac31ff87f17a3
Reorder Switch immediates to put the vector last

Summary:Upcoming changes will factor out immediate decoding from
the iopOps, so the bytecode ops with vector-immediates are
cleaner if the vector comes after all scalars immediates.

Reviewed By: swtaarrs

Differential Revision: D3031674

fb-gh-sync-id: bd6eb8f17b63c600b5b9501153cf378d24e238c7
shipit-source-id: bd6eb8f17b63c600b5b9501153cf378d24e238c7
12 files changed:
hphp/compiler/analysis/emitter.cpp
hphp/doc/bytecode.specification
hphp/hack/src/emitter/emitter_core.ml
hphp/hack/src/emitter/emitter_stmt.ml
hphp/runtime/vm/bytecode.cpp
hphp/runtime/vm/hhbc-codec.h
hphp/runtime/vm/hhbc.cpp
hphp/runtime/vm/hhbc.h
hphp/runtime/vm/jit/irgen-control.cpp
hphp/runtime/vm/verifier/check-func.cpp
hphp/test/quick/asm_fault.hhas
hphp/test/quick/asm_switch.hhas