summaryrefslogtreecommitdiff
path: root/src/asmjs
diff options
context:
space:
mode:
Diffstat (limited to 'src/asmjs')
-rw-r--r--src/asmjs/shared-constants.cpp7
-rw-r--r--src/asmjs/shared-constants.h7
2 files changed, 12 insertions, 2 deletions
diff --git a/src/asmjs/shared-constants.cpp b/src/asmjs/shared-constants.cpp
index 87c3574de..32ddb6c2c 100644
--- a/src/asmjs/shared-constants.cpp
+++ b/src/asmjs/shared-constants.cpp
@@ -94,5 +94,10 @@ cashew::IString GLOBAL("global"),
WASM_NEAREST_F32("__wasm_nearest_f32"),
WASM_NEAREST_F64("__wasm_nearest_f64"),
WASM_TRUNC_F32("__wasm_trunc_f32"),
- WASM_TRUNC_F64("__wasm_trunc_f64");
+ WASM_TRUNC_F64("__wasm_trunc_f64"),
+ WASM_I64_MUL("__wasm_i64_mul"),
+ WASM_I64_SDIV("__wasm_i64_sdiv"),
+ WASM_I64_UDIV("__wasm_i64_udiv"),
+ WASM_I64_SREM("__wasm_i64_srem"),
+ WASM_I64_UREM("__wasm_i64_urem");
}
diff --git a/src/asmjs/shared-constants.h b/src/asmjs/shared-constants.h
index da2f7aad8..c57b03ea5 100644
--- a/src/asmjs/shared-constants.h
+++ b/src/asmjs/shared-constants.h
@@ -97,7 +97,12 @@ extern cashew::IString GLOBAL,
WASM_NEAREST_F32,
WASM_NEAREST_F64,
WASM_TRUNC_F32,
- WASM_TRUNC_F64;
+ WASM_TRUNC_F64,
+ WASM_I64_MUL,
+ WASM_I64_SDIV,
+ WASM_I64_UDIV,
+ WASM_I64_SREM,
+ WASM_I64_UREM;
}
#endif // wasm_asmjs_shared_constants_h