Only assertOperandTypes() in debug builds.
commit946f226e61701cdd99ac99705c0f09c701c7207f
authorEdwin Smith <smith@fb.com>
Fri, 19 Sep 2014 22:56:57 +0000 (19 15:56 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Sat, 20 Sep 2014 18:00:19 +0000 (20 11:00 -0700)
tree0251beb219e33b9205576f63f520f235e8f73fea
parent850d4fddd26ee0c2a0022e390d6403ad9c4ecf79
Only assertOperandTypes() in debug builds.

Summary: Refactor assertOperandTypes() to return bool, rename
it to checkOperandTypes(), and let callsites decide
whether to assert() or always_assert(). all callsites
assert in this diff.

Reviewed By: @bertmaher

Differential Revision: D1567530
hphp/runtime/vm/jit/ir-unit.h
hphp/runtime/vm/jit/ir.h
hphp/runtime/vm/jit/mutation.cpp
hphp/runtime/vm/jit/opt.cpp
hphp/runtime/vm/jit/type.cpp