diff options
Diffstat (limited to 'src/asmjs')
-rw-r--r-- | src/asmjs/shared-constants.cpp | 5 | ||||
-rw-r--r-- | src/asmjs/shared-constants.h | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/asmjs/shared-constants.cpp b/src/asmjs/shared-constants.cpp index f62be6168..09452805c 100644 --- a/src/asmjs/shared-constants.cpp +++ b/src/asmjs/shared-constants.cpp @@ -62,6 +62,7 @@ cashew::IString GLOBAL("global"), I32_TEMP("asm2wasm_i32_temp"), DEBUGGER("debugger"), USE_ASM("use asm"), + ALMOST_ASM("almost asm"), BUFFER("buffer"), ENV("env"), INSTRUMENT("instrument"), @@ -84,5 +85,7 @@ cashew::IString GLOBAL("global"), WASM_ROTL32("__wasm_rotl_i32"), WASM_ROTL64("__wasm_rotl_i64"), WASM_ROTR32("__wasm_rotr_i32"), - WASM_ROTR64("__wasm_rotr_i64"); + WASM_ROTR64("__wasm_rotr_i64"), + WASM_GROW_MEMORY("__wasm_grow_memory"), + WASM_CURRENT_MEMORY("__wasm_current_memory"); } diff --git a/src/asmjs/shared-constants.h b/src/asmjs/shared-constants.h index 7e4b27c85..06946c7f5 100644 --- a/src/asmjs/shared-constants.h +++ b/src/asmjs/shared-constants.h @@ -65,6 +65,7 @@ extern cashew::IString GLOBAL, I32_TEMP, DEBUGGER, USE_ASM, + ALMOST_ASM, BUFFER, ENV, INSTRUMENT, @@ -87,7 +88,9 @@ extern cashew::IString GLOBAL, WASM_ROTL32, WASM_ROTL64, WASM_ROTR32, - WASM_ROTR64; + WASM_ROTR64, + WASM_GROW_MEMORY, + WASM_CURRENT_MEMORY; } #endif // wasm_asmjs_shared_constants_h |