Split isCallToExit() from isReturnHelper()
commit01cf06e81a12904d29478dd6fa7640b5f16f1404
authorJan Oravec <jan@fb.com>
Tue, 2 Nov 2021 03:01:16 +0000 (1 20:01 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 2 Nov 2021 03:04:19 +0000 (1 20:04 -0700)
treef8cb206bc1f8d631487df6b26c447194facf6e24
parentb06d12a4ba3f7076fcf0dcf98f55436f3fb880f6
Split isCallToExit() from isReturnHelper()

Summary:
These two types of helpers are used for very different purposes. Usually we
want to check for only one of these, so split the function.

Reviewed By: ricklavoie

Differential Revision: D32066522

fbshipit-source-id: e1d3e38b0c97b83b5728c204d46d58de84f99865
hphp/runtime/base/execution-context.cpp
hphp/runtime/vm/act-rec-defs.h
hphp/runtime/vm/act-rec.cpp
hphp/runtime/vm/act-rec.h
hphp/runtime/vm/bytecode.cpp