Clean up code-gen control flow helpers
commitfff74187c9ded20c0115e0e4beab88ce4148a999
authorMax Wang <mwang@fb.com>
Sun, 17 May 2015 18:26:08 +0000 (17 11:26 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Sun, 17 May 2015 18:30:33 +0000 (17 11:30 -0700)
tree0dd0e8e6c9495708cda27fa364b92f1dd59c8a64
parent53c0f7ae0f94f6e4abdcbe7cb710a83d0d831d96
Clean up code-gen control flow helpers

Summary: Just some drive-by cleanup for a vasmified world:
- Reduce 13 control flow helpers to 8 (some were duplicates, some were
  unused).
- Declare and define them in 1 file instead of 5.
- Make them look more like one another.
- Move the X64Assembler ifThen() into func-prologues-x64.cpp.

Reviewed By: @jdelong

Differential Revision: D2073549
hphp/runtime/vm/jit/code-gen-arm.cpp
hphp/runtime/vm/jit/code-gen-cf.h [new file with mode: 0644]
hphp/runtime/vm/jit/code-gen-helpers-x64.cpp
hphp/runtime/vm/jit/code-gen-helpers.h
hphp/runtime/vm/jit/code-gen-x64.cpp
hphp/runtime/vm/jit/code-gen-x64.h
hphp/runtime/vm/jit/func-prologues-x64.cpp
hphp/runtime/vm/jit/mc-generator-internal.h