add ConvClsMethTo##T opcodes
commit971b9ac0fa46e26510b273d6909afe0b17db80b8
authorYu-Jung Lo <ylo@fb.com>
Wed, 4 Sep 2019 02:38:40 +0000 (3 19:38 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 4 Sep 2019 02:40:59 +0000 (3 19:40 -0700)
tree6ead0ec4fd75f1858c666a56857b4df373375736
parentf864ada0435fac541ec267e28bd9a73b097870f1
add ConvClsMethTo##T opcodes

Summary: Add new ConvClsMethToTXX opcodes used to cast TClsMeth to arrayish types

Reviewed By: ricklavoie

Differential Revision: D17143881

fbshipit-source-id: 4f9f4b940955e90f067aac6ec91aeb677176027a
12 files changed:
hphp/doc/ir.specification
hphp/runtime/base/tv-conversions.cpp
hphp/runtime/vm/jit/dce.cpp
hphp/runtime/vm/jit/ir-opcode.cpp
hphp/runtime/vm/jit/irlower-conv.cpp
hphp/runtime/vm/jit/memory-effects.cpp
hphp/runtime/vm/jit/native-calls.cpp
hphp/runtime/vm/jit/simplify.cpp
hphp/runtime/vm/jit/translator-runtime.cpp
hphp/runtime/vm/jit/translator-runtime.h
hphp/test/slow/arrayish-casts.php.expectf
hphp/test/slow/global_func/class_meth/dv_arr_hack_arr/container_builtins_convert_and_warn.php.expectf