summaryrefslogtreecommitdiff
path: root/src/asmjs/shared-constants.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/asmjs/shared-constants.cpp')
-rw-r--r--src/asmjs/shared-constants.cpp186
1 files changed, 93 insertions, 93 deletions
diff --git a/src/asmjs/shared-constants.cpp b/src/asmjs/shared-constants.cpp
index ec04b63e7..f1123ba67 100644
--- a/src/asmjs/shared-constants.cpp
+++ b/src/asmjs/shared-constants.cpp
@@ -18,104 +18,104 @@
namespace wasm {
-cashew::IString GLOBAL("global"),
- NAN_("NaN"),
- INFINITY_("Infinity"),
- NAN__("nan"),
- INFINITY__("infinity"),
- TOPMOST("topmost"),
- INT8ARRAY("Int8Array"),
- INT16ARRAY("Int16Array"),
- INT32ARRAY("Int32Array"),
- UINT8ARRAY("Uint8Array"),
- UINT16ARRAY("Uint16Array"),
- UINT32ARRAY("Uint32Array"),
- FLOAT32ARRAY("Float32Array"),
- FLOAT64ARRAY("Float64Array"),
- ARRAY_BUFFER("ArrayBuffer"),
- ASM_MODULE("asmModule"),
- IMPOSSIBLE_CONTINUE("impossible-continue"),
- MATH("Math"),
- IMUL("imul"),
- CLZ32("clz32"),
- FROUND("fround"),
- ASM2WASM("asm2wasm"),
- MIN("min"),
- MAX("max"),
- F64_REM("f64-rem"),
- F64_TO_INT("f64-to-int"),
- F64_TO_UINT("f64-to-uint"),
- F64_TO_INT64("f64-to-int64"),
- F64_TO_UINT64("f64-to-uint64"),
- F32_TO_INT("f32-to-int"),
- F32_TO_UINT("f32-to-uint"),
- F32_TO_INT64("f32-to-int64"),
- F32_TO_UINT64("f32-to-uint64"),
- I32S_DIV("i32s-div"),
- I32U_DIV("i32u-div"),
- I32S_REM("i32s-rem"),
- I32U_REM("i32u-rem"),
- GLOBAL_MATH("global.Math"),
- ABS("abs"),
- FLOOR("floor"),
- CEIL("ceil"),
- SQRT("sqrt"),
- POW("pow"),
- I32_TEMP("asm2wasm_i32_temp"),
- DEBUGGER("debugger"),
- USE_ASM("use asm"),
- ALMOST_ASM("almost asm"),
- BUFFER("buffer"),
- ENV("env"),
- STACKTOP("STACKTOP"),
- STACK_MAX("STACK_MAX"),
- INSTRUMENT("instrument"),
- MATH_IMUL("Math_imul"),
- MATH_ABS("Math_abs"),
- MATH_CEIL("Math_ceil"),
- MATH_CLZ32("Math_clz32"),
- MATH_FLOOR("Math_floor"),
- MATH_TRUNC("Math_trunc"),
- MATH_SQRT("Math_sqrt"),
- MATH_MIN("Math_min"),
- MATH_MAX("Math_max"),
- WASM_CTZ32("__wasm_ctz_i32"),
- WASM_CTZ64("__wasm_ctz_i64"),
- WASM_CLZ32("__wasm_clz_i32"),
- WASM_CLZ64("__wasm_clz_i64"),
- WASM_POPCNT32("__wasm_popcnt_i32"),
- WASM_POPCNT64("__wasm_popcnt_i64"),
- WASM_ROTL32("__wasm_rotl_i32"),
- WASM_ROTL64("__wasm_rotl_i64"),
- WASM_ROTR32("__wasm_rotr_i32"),
- WASM_ROTR64("__wasm_rotr_i64"),
- WASM_GROW_MEMORY("__wasm_grow_memory"),
- WASM_CURRENT_MEMORY("__wasm_current_memory"),
- WASM_FETCH_HIGH_BITS("__wasm_fetch_high_bits"),
- INT64_TO_32_HIGH_BITS("i64toi32_i32$HIGH_BITS"),
- 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_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");
+cashew::IString GLOBAL("global");
+cashew::IString NAN_("NaN");
+cashew::IString INFINITY_("Infinity");
+cashew::IString NAN__("nan");
+cashew::IString INFINITY__("infinity");
+cashew::IString TOPMOST("topmost");
+cashew::IString INT8ARRAY("Int8Array");
+cashew::IString INT16ARRAY("Int16Array");
+cashew::IString INT32ARRAY("Int32Array");
+cashew::IString UINT8ARRAY("Uint8Array");
+cashew::IString UINT16ARRAY("Uint16Array");
+cashew::IString UINT32ARRAY("Uint32Array");
+cashew::IString FLOAT32ARRAY("Float32Array");
+cashew::IString FLOAT64ARRAY("Float64Array");
+cashew::IString ARRAY_BUFFER("ArrayBuffer");
+cashew::IString ASM_MODULE("asmModule");
+cashew::IString IMPOSSIBLE_CONTINUE("impossible-continue");
+cashew::IString MATH("Math");
+cashew::IString IMUL("imul");
+cashew::IString CLZ32("clz32");
+cashew::IString FROUND("fround");
+cashew::IString ASM2WASM("asm2wasm");
+cashew::IString MIN("min");
+cashew::IString MAX("max");
+cashew::IString F64_REM("f64-rem");
+cashew::IString F64_TO_INT("f64-to-int");
+cashew::IString F64_TO_UINT("f64-to-uint");
+cashew::IString F64_TO_INT64("f64-to-int64");
+cashew::IString F64_TO_UINT64("f64-to-uint64");
+cashew::IString F32_TO_INT("f32-to-int");
+cashew::IString F32_TO_UINT("f32-to-uint");
+cashew::IString F32_TO_INT64("f32-to-int64");
+cashew::IString F32_TO_UINT64("f32-to-uint64");
+cashew::IString I32S_DIV("i32s-div");
+cashew::IString I32U_DIV("i32u-div");
+cashew::IString I32S_REM("i32s-rem");
+cashew::IString I32U_REM("i32u-rem");
+cashew::IString GLOBAL_MATH("global.Math");
+cashew::IString ABS("abs");
+cashew::IString FLOOR("floor");
+cashew::IString CEIL("ceil");
+cashew::IString SQRT("sqrt");
+cashew::IString POW("pow");
+cashew::IString I32_TEMP("asm2wasm_i32_temp");
+cashew::IString DEBUGGER("debugger");
+cashew::IString USE_ASM("use asm");
+cashew::IString ALMOST_ASM("almost asm");
+cashew::IString BUFFER("buffer");
+cashew::IString ENV("env");
+cashew::IString STACKTOP("STACKTOP");
+cashew::IString STACK_MAX("STACK_MAX");
+cashew::IString INSTRUMENT("instrument");
+cashew::IString MATH_IMUL("Math_imul");
+cashew::IString MATH_ABS("Math_abs");
+cashew::IString MATH_CEIL("Math_ceil");
+cashew::IString MATH_CLZ32("Math_clz32");
+cashew::IString MATH_FLOOR("Math_floor");
+cashew::IString MATH_TRUNC("Math_trunc");
+cashew::IString MATH_SQRT("Math_sqrt");
+cashew::IString MATH_MIN("Math_min");
+cashew::IString MATH_MAX("Math_max");
+cashew::IString WASM_CTZ32("__wasm_ctz_i32");
+cashew::IString WASM_CTZ64("__wasm_ctz_i64");
+cashew::IString WASM_CLZ32("__wasm_clz_i32");
+cashew::IString WASM_CLZ64("__wasm_clz_i64");
+cashew::IString WASM_POPCNT32("__wasm_popcnt_i32");
+cashew::IString WASM_POPCNT64("__wasm_popcnt_i64");
+cashew::IString WASM_ROTL32("__wasm_rotl_i32");
+cashew::IString WASM_ROTL64("__wasm_rotl_i64");
+cashew::IString WASM_ROTR32("__wasm_rotr_i32");
+cashew::IString WASM_ROTR64("__wasm_rotr_i64");
+cashew::IString WASM_GROW_MEMORY("__wasm_grow_memory");
+cashew::IString WASM_CURRENT_MEMORY("__wasm_current_memory");
+cashew::IString WASM_FETCH_HIGH_BITS("__wasm_fetch_high_bits");
+cashew::IString INT64_TO_32_HIGH_BITS("i64toi32_i32$HIGH_BITS");
+cashew::IString WASM_NEAREST_F32("__wasm_nearest_f32");
+cashew::IString WASM_NEAREST_F64("__wasm_nearest_f64");
+cashew::IString WASM_TRUNC_F32("__wasm_trunc_f32");
+cashew::IString WASM_TRUNC_F64("__wasm_trunc_f64");
+cashew::IString WASM_I64_MUL("__wasm_i64_mul");
+cashew::IString WASM_I64_SDIV("__wasm_i64_sdiv");
+cashew::IString WASM_I64_UDIV("__wasm_i64_udiv");
+cashew::IString WASM_I64_SREM("__wasm_i64_srem");
+cashew::IString WASM_I64_UREM("__wasm_i64_urem");
namespace ABI {
namespace wasm2js {
-cashew::IString SCRATCH_LOAD_I32("wasm2js_scratch_load_i32"),
- SCRATCH_STORE_I32("wasm2js_scratch_store_i32"),
- SCRATCH_LOAD_I64("wasm2js_scratch_load_i64"),
- SCRATCH_STORE_I64("wasm2js_scratch_store_i64"),
- SCRATCH_LOAD_F32("wasm2js_scratch_load_f32"),
- SCRATCH_STORE_F32("wasm2js_scratch_store_f32"),
- SCRATCH_LOAD_F64("wasm2js_scratch_load_f64"),
- SCRATCH_STORE_F64("wasm2js_scratch_store_f64");
+cashew::IString SCRATCH_LOAD_I32("wasm2js_scratch_load_i32");
+cashew::IString SCRATCH_STORE_I32("wasm2js_scratch_store_i32");
+cashew::IString SCRATCH_LOAD_I64("wasm2js_scratch_load_i64");
+cashew::IString SCRATCH_STORE_I64("wasm2js_scratch_store_i64");
+cashew::IString SCRATCH_LOAD_F32("wasm2js_scratch_load_f32");
+cashew::IString SCRATCH_STORE_F32("wasm2js_scratch_store_f32");
+cashew::IString SCRATCH_LOAD_F64("wasm2js_scratch_load_f64");
+cashew::IString SCRATCH_STORE_F64("wasm2js_scratch_store_f64");
} // namespace wasm2js
} // namespace ABI
-}
+} // namespace wasm