5 #ifndef V8_WASM_WASM_EXTERNAL_REFS_H_ 6 #define V8_WASM_WASM_EXTERNAL_REFS_H_ 10 #include "src/globals.h" 16 void f32_trunc_wrapper(Address data);
18 void f32_floor_wrapper(Address data);
20 void f32_ceil_wrapper(Address data);
22 void f32_nearest_int_wrapper(Address data);
24 void f64_trunc_wrapper(Address data);
26 void f64_floor_wrapper(Address data);
28 void f64_ceil_wrapper(Address data);
30 void f64_nearest_int_wrapper(Address data);
32 void int64_to_float32_wrapper(Address data);
34 void uint64_to_float32_wrapper(Address data);
36 void int64_to_float64_wrapper(Address data);
38 void uint64_to_float64_wrapper(Address data);
40 int32_t float32_to_int64_wrapper(Address data);
42 int32_t float32_to_uint64_wrapper(Address data);
44 int32_t float64_to_int64_wrapper(Address data);
46 int32_t float64_to_uint64_wrapper(Address data);
48 int32_t int64_div_wrapper(Address data);
50 int32_t int64_mod_wrapper(Address data);
52 int32_t uint64_div_wrapper(Address data);
54 int32_t uint64_mod_wrapper(Address data);
56 uint32_t word32_ctz_wrapper(Address data);
58 uint32_t word64_ctz_wrapper(Address data);
60 uint32_t word32_popcnt_wrapper(Address data);
62 uint32_t word64_popcnt_wrapper(Address data);
64 uint32_t word32_rol_wrapper(Address data);
66 uint32_t word32_ror_wrapper(Address data);
68 void float64_pow_wrapper(Address data);
70 typedef void (*WasmTrapCallbackForTesting)();
72 void set_trap_callback_for_testing(WasmTrapCallbackForTesting callback);
74 void call_trap_callback_for_testing();
80 #endif // V8_WASM_WASM_EXTERNAL_REFS_H_