diff options
Diffstat (limited to 'src/binaryen-c.cpp')
-rw-r--r-- | src/binaryen-c.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp index 2df1d478a..c22ab4411 100644 --- a/src/binaryen-c.cpp +++ b/src/binaryen-c.cpp @@ -70,7 +70,7 @@ BinaryenLiteral toBinaryenLiteral(Literal x) { break; } - case Type::except_ref: // there's no except_ref literals + case Type::exnref: // there's no exnref literals case Type::none: case Type::unreachable: WASM_UNREACHABLE(); @@ -90,7 +90,7 @@ Literal fromBinaryenLiteral(BinaryenLiteral x) { return Literal(x.i64).castToF64(); case Type::v128: return Literal(x.v128); - case Type::except_ref: // there's no except_ref literals + case Type::exnref: // there's no exnref literals case Type::none: case Type::unreachable: WASM_UNREACHABLE(); @@ -210,7 +210,7 @@ void printArg(std::ostream& setup, std::ostream& out, BinaryenLiteral arg) { out << "BinaryenLiteralVec128(" << array << ")"; break; } - case Type::except_ref: // there's no except_ref literals + case Type::exnref: // there's no exnref literals case Type::none: case Type::unreachable: WASM_UNREACHABLE(); @@ -265,7 +265,7 @@ BinaryenType BinaryenTypeInt64(void) { return i64; } BinaryenType BinaryenTypeFloat32(void) { return f32; } BinaryenType BinaryenTypeFloat64(void) { return f64; } BinaryenType BinaryenTypeVec128(void) { return v128; } -BinaryenType BinaryenTypeExceptRef(void) { return except_ref; } +BinaryenType BinaryenTypeExnref(void) { return exnref; } BinaryenType BinaryenTypeUnreachable(void) { return unreachable; } BinaryenType BinaryenTypeAuto(void) { return uint32_t(-1); } |