diff options
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r-- | src/wasm-s-parser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h index eb86376ab..20091fc2c 100644 --- a/src/wasm-s-parser.h +++ b/src/wasm-s-parser.h @@ -570,6 +570,10 @@ public: if (str[1] == 'a') return makeSwitch(s); // aka tableswitch abort_on(str); } + case 'u': { + if (str[1] == 'n') return allocator.alloc<Unreachable>(); + abort_on(str); + } default: abort_on(str); } } |