diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/s2wasm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h index 08343cb25..a23cbb549 100644 --- a/src/s2wasm.h +++ b/src/s2wasm.h @@ -249,7 +249,7 @@ class S2WasmBuilder { offset = -getInt(); } linkerObj->addRelocation(kind, target, - fixEmEHSjLjNames(cleanFunction(name)), offset); + fixEmLongjmp(cleanFunction(name)), offset); return true; } } @@ -1388,7 +1388,7 @@ class S2WasmBuilder { // This version only converts emscripten_longjmp_jmpbuf and does not deal // with invoke wrappers. This is used when we only have a function name as // relocatable constant. - Name fixEmEHSjLjNames(const Name &name) { + Name fixEmLongjmp(const Name &name) { if (name == "emscripten_longjmp_jmpbuf") return "emscripten_longjmp"; return name; |