Remove dead code related to function body dispatch
commita00fe50f2e999527c7711649200aff0b91071750
authorJan Oravec <jan@fb.com>
Sun, 30 Aug 2020 16:39:28 +0000 (30 09:39 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sun, 30 Aug 2020 16:41:30 +0000 (30 09:41 -0700)
tree52b6c82928c9ccfdbf2fd68ff68d2fcb726946f3
parentc2555f95a41158dea00eda29f2d5a82788ff360c
Remove dead code related to function body dispatch

Summary:
Removes:
- logic that emit function body dispatch
- logic that retranslates function body dispatch
- LdARNumParams IR opcode
- Func::getDVFunclets()

A minor modification was made to publishOptFuncCode():
- Func::getDVFunclets().size() == 0 was replaced with an equivalent logic
- a stronger SrcKey-based comparison is used to identify entry translation (it
  was not incorrect only by accident, as other ResumeModes are impossible at
  entry)

Reviewed By: oulgen

Differential Revision: D23416677

fbshipit-source-id: 22796ff44398837ded98acbe4e4f656ee8b97c9d
16 files changed:
hphp/doc/ir.specification
hphp/runtime/vm/func.cpp
hphp/runtime/vm/func.h
hphp/runtime/vm/jit/dce.cpp
hphp/runtime/vm/jit/func-prologue.cpp
hphp/runtime/vm/jit/func-prologue.h
hphp/runtime/vm/jit/gvn.cpp
hphp/runtime/vm/jit/ir-opcode.cpp
hphp/runtime/vm/jit/irgen-func-prologue.cpp
hphp/runtime/vm/jit/irgen-func-prologue.h
hphp/runtime/vm/jit/irlower-act-rec.cpp
hphp/runtime/vm/jit/memory-effects.cpp
hphp/runtime/vm/jit/tc-prologue.cpp
hphp/runtime/vm/jit/tc-prologue.h
hphp/runtime/vm/jit/tc-region.cpp
hphp/runtime/vm/jit/tc.h