Handle inline stacks with EagerVMRegAnchor
commitc493016ac52343a367343f5338e21fe6b0e41efb
authorPaul Bissonnette <paulbiss@fb.com>
Tue, 7 Aug 2018 16:20:07 +0000 (7 09:20 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 7 Aug 2018 16:27:34 +0000 (7 09:27 -0700)
treeb263f9fbff838baa8fe5a95d7e38d68d75e8a9dc
parent76cc5cf5dbfc4a1a56a957c6a7b56e7aa619d31e
Handle inline stacks with EagerVMRegAnchor

Summary: Eagerly sync jitReturnAddress for functions using EagerVMRegAnchor. I thought about adding support for syncing the actual address using some sort of `ldlabel` or similar instruction but it seemed like a lot of added complexity for something relatively simple (we don't actually care what the address is as long as its unique).

Reviewed By: ottoni

Differential Revision: D9136235

fbshipit-source-id: ccdde19ac8f6d6aff725759af248bce6b038be4a
hphp/runtime/base/rds-header.h
hphp/runtime/vm/jit/cg-meta.cpp
hphp/runtime/vm/jit/code-gen-helpers.cpp
hphp/runtime/vm/jit/vasm-dead.cpp
hphp/runtime/vm/jit/vasm-instr.cpp
hphp/runtime/vm/jit/vasm-instr.h
hphp/runtime/vm/jit/vasm-internal-inl.h
hphp/test/slow/inline-eager-stack.php [new file with mode: 0644]
hphp/test/slow/inline-eager-stack.php.expectregex [new file with mode: 0644]