Use StubType::Translate instead of REQ_BIND_JMP and REQ_BIND_ADDR
commitd996094ae70cd63861aa92bd167ee87f27c88dfc
authorJan Oravec <jan@fb.com>
Tue, 8 Jun 2021 19:20:08 +0000 (8 12:20 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 8 Jun 2021 19:21:18 +0000 (8 12:21 -0700)
tree6ed070dc068d5a8736e23423ce69a0687339b1a7
parentcc0fccfb39312e77bd65aab844099ee363fc43cd
Use StubType::Translate instead of REQ_BIND_JMP and REQ_BIND_ADDR

Summary:
Use the new service request mechanism instead of REQ_BIND_JMP and REQ_BIND_ADDR.
Track the unbound incoming edge via SrcRec rather than via dedicated stub.

Should free some memory in the frozen code section, as new stubs are shared per
unique Offset/SBInvOffset, but requires more storage for SrcRecs.

Reviewed By: mofarrell

Differential Revision: D28923923

fbshipit-source-id: 0d11ffb96b5c5db0d8957d01c1dd2990fcbdcd91
hphp/runtime/vm/jit/service-request-handlers.cpp
hphp/runtime/vm/jit/srcdb.cpp
hphp/runtime/vm/jit/srcdb.h
hphp/runtime/vm/jit/tc-internal.cpp
hphp/runtime/vm/jit/tc-region.cpp
hphp/runtime/vm/jit/tc.h