| Index: src/wasm/wasm-opcodes.h
|
| diff --git a/src/wasm/wasm-opcodes.h b/src/wasm/wasm-opcodes.h
|
| index 1a3aa9cf2a3610b69ed358c957e14a2dabece652..b75e70c0dc26db7dd9a991265f649620c02d2e36 100644
|
| --- a/src/wasm/wasm-opcodes.h
|
| +++ b/src/wasm/wasm-opcodes.h
|
| @@ -246,6 +246,25 @@ struct WasmName {
|
| V(I64Ror, 0xb8, l_ll) \
|
| V(I64Rol, 0xb9, l_ll)
|
|
|
| +// Simple expressions which can trap
|
| +#define FOREACH_SIMPLE_TRAPPING_OPCODE(V) \
|
| + V(I32DivS) \
|
| + V(I32DivU) \
|
| + V(I32RemS) \
|
| + V(I32RemU) \
|
| + V(I64DivS) \
|
| + V(I64DivU) \
|
| + V(I64RemS) \
|
| + V(I64RemU) \
|
| + V(I32SConvertF32) \
|
| + V(I32SConvertF64) \
|
| + V(I32UConvertF32) \
|
| + V(I32UConvertF64) \
|
| + V(I64SConvertF32) \
|
| + V(I64SConvertF64) \
|
| + V(I64UConvertF32) \
|
| + V(I64UConvertF64)
|
| +
|
| // For compatibility with Asm.js.
|
| #define FOREACH_ASMJS_COMPAT_OPCODE(V) \
|
| V(F64Acos, 0xc0, d_d) \
|
|
|