remove string label in emitter[1/2]
commit453abcfffeeb68568f4078fbe00ee2ee381a6bc9
authorSteve Cao <shiqicao@fb.com>
Thu, 8 Apr 2021 23:36:30 +0000 (8 16:36 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 8 Apr 2021 23:37:51 +0000 (8 16:37 -0700)
treeef7ad7f5e84bbaa4e2737cce7477185545f9c8b4
parent808bd18334f7679aeeb71f033d97bca293675f71
remove string label in emitter[1/2]

Summary:
Hack doesn't support `goto` statement anymore{D23328595 (https://github.com/facebook/hhvm/commit/666828b48b4c4a81e26305c2149461e738665498)}, therefore no need to string label or customized label anymore.

This diff removes all string label related code in emitter.

Reviewed By: shayne-fletcher

Differential Revision: D27556378

fbshipit-source-id: 1962bc07d6750bd5baccb2b84298dfe4fcfbb6da
hphp/hack/Cargo.lock
hphp/hack/src/hhbc/hhbc_by_ref/cargo/hhbc_by_ref_env/Cargo.toml
hphp/hack/src/hhbc/hhbc_by_ref/emit_body.rs
hphp/hack/src/hhbc/hhbc_by_ref/env.rs
hphp/hack/src/hhbc/hhbc_by_ref/global_state.rs
hphp/hack/src/hhbc/hhbc_by_ref/jump_targets.rs
hphp/hack/src/hhbc/hhbc_by_ref/label.rs