diff options
author | Sam Clegg <sbc@chromium.org> | 2018-11-29 14:29:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-29 14:29:51 -0800 |
commit | 8d915d515b366842fd8934a712527b952899ce35 (patch) | |
tree | 6ab13b3bec9f42d33d8f3a9747afdde96097c8e9 /src/emscripten-optimizer | |
parent | 252fd7f176c4a5ae6a6fa9a5124e153ddbaab638 (diff) | |
download | binaryen-8d915d515b366842fd8934a712527b952899ce35.tar.gz binaryen-8d915d515b366842fd8934a712527b952899ce35.tar.bz2 binaryen-8d915d515b366842fd8934a712527b952899ce35.zip |
Cleanup shared constants (#1784)
Diffstat (limited to 'src/emscripten-optimizer')
-rw-r--r-- | src/emscripten-optimizer/optimizer-shared.cpp | 3 | ||||
-rw-r--r-- | src/emscripten-optimizer/parser.cpp | 3 | ||||
-rw-r--r-- | src/emscripten-optimizer/parser.h | 3 |
3 files changed, 2 insertions, 7 deletions
diff --git a/src/emscripten-optimizer/optimizer-shared.cpp b/src/emscripten-optimizer/optimizer-shared.cpp index c990e2605..81f7949ba 100644 --- a/src/emscripten-optimizer/optimizer-shared.cpp +++ b/src/emscripten-optimizer/optimizer-shared.cpp @@ -27,7 +27,8 @@ IString SIMD_INT8X16_CHECK("SIMD_Int8x16_check"), SIMD_INT16X8_CHECK("SIMD_Int16x8_check"), SIMD_INT32X4_CHECK("SIMD_Int32x4_check"), SIMD_FLOAT32X4_CHECK("SIMD_Float32x4_check"), - SIMD_FLOAT64X2_CHECK("SIMD_Float64x2_check"); + SIMD_FLOAT64X2_CHECK("SIMD_Float64x2_check"), + TEMP_RET0("tempRet0"); int parseInt(const char *str) { int ret = *str - '0'; diff --git a/src/emscripten-optimizer/parser.cpp b/src/emscripten-optimizer/parser.cpp index eb4abf6b3..035817090 100644 --- a/src/emscripten-optimizer/parser.cpp +++ b/src/emscripten-optimizer/parser.cpp @@ -44,8 +44,6 @@ IString TOPLEVEL("toplevel"), TRY("try"), INF("inf"), NaN("nan"), - TEMP_RET0("tempRet0"), - GET_TEMP_RET0("getTempRet0"), LLVM_CTTZ_I32("_llvm_cttz_i32"), UDIVMODDI4("___udivmoddi4"), UNARY_PREFIX("unary-prefix"), @@ -78,7 +76,6 @@ IString TOPLEVEL("toplevel"), RSHIFT(">>"), LSHIFT("<<"), TRSHIFT(">>>"), - TEMP_DOUBLE_PTR("tempDoublePtr"), HEAP8("HEAP8"), HEAP16("HEAP16"), HEAP32("HEAP32"), diff --git a/src/emscripten-optimizer/parser.h b/src/emscripten-optimizer/parser.h index 1c12bf944..ae3c6b067 100644 --- a/src/emscripten-optimizer/parser.h +++ b/src/emscripten-optimizer/parser.h @@ -59,8 +59,6 @@ extern IString TOPLEVEL, TRY, INF, NaN, - TEMP_RET0, - GET_TEMP_RET0, LLVM_CTTZ_I32, UDIVMODDI4, UNARY_PREFIX, @@ -93,7 +91,6 @@ extern IString TOPLEVEL, RSHIFT, LSHIFT, TRSHIFT, - TEMP_DOUBLE_PTR, HEAP8, HEAP16, HEAP32, |