summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoraheejin <aheejin@gmail.com>2016-08-30 21:35:28 -0700
committeraheejin <aheejin@gmail.com>2016-08-30 21:35:28 -0700
commit328824ae754b46a65b3fad55d840c816fdd3f347 (patch)
tree6e82951954e5a5e8bbe90908bcb6c4a3d658fffe /src
parent800c1f4ba3b658c9ea1b664329aa13d7069529a6 (diff)
downloadbinaryen-328824ae754b46a65b3fad55d840c816fdd3f347.tar.gz
binaryen-328824ae754b46a65b3fad55d840c816fdd3f347.tar.bz2
binaryen-328824ae754b46a65b3fad55d840c816fdd3f347.zip
Method name fix
Diffstat (limited to 'src')
-rw-r--r--src/s2wasm.h4
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;