summaryrefslogtreecommitdiff
path: root/src/asmjs
diff options
context:
space:
mode:
Diffstat (limited to 'src/asmjs')
-rw-r--r--src/asmjs/shared-constants.cpp4
-rw-r--r--src/asmjs/shared-constants.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/asmjs/shared-constants.cpp b/src/asmjs/shared-constants.cpp
index b2321a209..e30fd939c 100644
--- a/src/asmjs/shared-constants.cpp
+++ b/src/asmjs/shared-constants.cpp
@@ -40,6 +40,10 @@ cashew::IString GLOBAL("global"),
ASM2WASM("asm2wasm"),
F64_REM("f64-rem"),
F64_TO_INT("f64-to-int"),
+ I32S_DIV("i32s-div"),
+ I32U_DIV("i32u-div"),
+ I32S_REM("i32s-rem"),
+ I32U_REM("i32u-rem"),
GLOBAL_MATH("global.Math"),
ABS("abs"),
FLOOR("floor"),
diff --git a/src/asmjs/shared-constants.h b/src/asmjs/shared-constants.h
index fb32340ab..e0c627511 100644
--- a/src/asmjs/shared-constants.h
+++ b/src/asmjs/shared-constants.h
@@ -43,6 +43,10 @@ extern cashew::IString GLOBAL,
ASM2WASM,
F64_REM,
F64_TO_INT,
+ I32S_DIV,
+ I32U_DIV,
+ I32S_REM,
+ I32U_REM,
GLOBAL_MATH,
ABS,
FLOOR,