diff options
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 5e94f5095..e1eb5733c 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -382,7 +382,7 @@ enum EncodedType { // elem_type AnyFunc = -0x10, // 0x70 // reference type - except_ref = -0x18, // 0x68 + exnref = -0x18, // 0x68 // func_type form Func = -0x20, // 0x60 // block_type @@ -893,8 +893,8 @@ inline S32LEB binaryType(Type type) { case v128: ret = BinaryConsts::EncodedType::v128; break; - case except_ref: - ret = BinaryConsts::EncodedType::except_ref; + case exnref: + ret = BinaryConsts::EncodedType::exnref; break; case unreachable: WASM_UNREACHABLE(); |