diff options
author | Shravan Narayan <shravanrn@gmail.com> | 2023-05-10 17:56:04 -0400 |
---|---|---|
committer | Shravan Narayan <shravanrn@gmail.com> | 2023-05-17 23:00:10 -0400 |
commit | 795f415f70f75d4cd841078aaa7a0dc14f9ebdd9 (patch) | |
tree | 6f1dc69c21e388e258a2c459bd5c299b4869d450 /wasm2c/wasm-rt.h | |
parent | 963f973469b45969ce198e0c86d3af316790a780 (diff) | |
download | wabt-795f415f70f75d4cd841078aaa7a0dc14f9ebdd9.tar.gz wabt-795f415f70f75d4cd841078aaa7a0dc14f9ebdd9.tar.bz2 wabt-795f415f70f75d4cd841078aaa7a0dc14f9ebdd9.zip |
wasm2c: partial support for atomic memory ops
Diffstat (limited to 'wasm2c/wasm-rt.h')
-rw-r--r-- | wasm2c/wasm-rt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wasm2c/wasm-rt.h b/wasm2c/wasm-rt.h index 9fd12dee..bdeecd56 100644 --- a/wasm2c/wasm-rt.h +++ b/wasm2c/wasm-rt.h @@ -217,7 +217,8 @@ typedef enum { WASM_RT_TRAP_INVALID_CONVERSION, /** Conversion from NaN to integer. */ WASM_RT_TRAP_UNREACHABLE, /** Unreachable instruction executed. */ WASM_RT_TRAP_CALL_INDIRECT, /** Invalid call_indirect, for any reason. */ - WASM_RT_TRAP_UNCAUGHT_EXCEPTION, /* Exception thrown and not caught */ + WASM_RT_TRAP_UNCAUGHT_EXCEPTION, /* Exception thrown and not caught. */ + WASM_RT_TRAP_UNALIGNED, /** Unaligned atomic instruction executed. */ #if WASM_RT_MERGED_OOB_AND_EXHAUSTION_TRAPS WASM_RT_TRAP_EXHAUSTION = WASM_RT_TRAP_OOB, #else |