diff options
author | Sam Clegg <sbc@chromium.org> | 2022-09-16 09:33:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-16 09:33:08 -0700 |
commit | d797c751df60aa5731a0cfaed1cc00811a5e273b (patch) | |
tree | cb7357ce0f6cfb25774f8565342909bb3df0210e /src/asmjs/shared-constants.h | |
parent | 3892b0bbe0aa0e57864e6785e43d33e89d39000b (diff) | |
download | binaryen-d797c751df60aa5731a0cfaed1cc00811a5e273b.tar.gz binaryen-d797c751df60aa5731a0cfaed1cc00811a5e273b.tar.bz2 binaryen-d797c751df60aa5731a0cfaed1cc00811a5e273b.zip |
wasm2js: Don't assume that `env.abort` can always be impored. (#5049)
This import was being injected and then used to implement trapping.
Rather than injecting an import that doesn't exist in the original
module we instead use the existing mechanism to implement this as
an internal helper.
Diffstat (limited to 'src/asmjs/shared-constants.h')
-rw-r--r-- | src/asmjs/shared-constants.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/asmjs/shared-constants.h b/src/asmjs/shared-constants.h index 20edacb7e..cebe8baaa 100644 --- a/src/asmjs/shared-constants.h +++ b/src/asmjs/shared-constants.h @@ -97,7 +97,6 @@ extern cashew::IString WASM_I64_SREM; extern cashew::IString WASM_I64_UREM; // wasm2js constants extern cashew::IString ASM_FUNC; -extern cashew::IString ABORT_FUNC; extern cashew::IString FUNCTION_TABLE; extern cashew::IString NO_RESULT; extern cashew::IString EXPRESSION_RESULT; |