Remove operator==(Op, Opcode) and friends
commit182ced3575ab2bd9381522966df517ca936935a0
authorbsimmers <bsimmers@fb.com>
Tue, 9 Jul 2013 21:03:32 +0000 (9 14:03 -0700)
committerSara Golemon <sgolemon@fb.com>
Wed, 10 Jul 2013 18:16:52 +0000 (10 11:16 -0700)
treef40e04a33832f406af7ac49df1badc5114fc4228
parent84b9d9a3a29cdf4359ca200976917c44225f8beb
Remove operator==(Op, Opcode) and friends

I added them to ease the transition but since Opcode is just
uint8_t, they remove a lot of the safety of making Op an enum class.
12 files changed:
hphp/runtime/base/stats.h
hphp/runtime/debugger/cmd/cmd_next.cpp
hphp/runtime/vm/bytecode.cpp
hphp/runtime/vm/hhbc.h
hphp/runtime/vm/jit/targetcache.cpp
hphp/runtime/vm/jit/translator-instrs.h
hphp/runtime/vm/jit/translator-x64.cpp
hphp/runtime/vm/jit/translator.cpp
hphp/runtime/vm/type_profile.cpp
hphp/runtime/vm/unit.cpp
hphp/runtime/vm/unwind.cpp
hphp/runtime/vm/verifier/check_func.cpp