diff options
Diffstat (limited to 'src/wasm/literal.cpp')
-rw-r--r-- | src/wasm/literal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm/literal.cpp b/src/wasm/literal.cpp index 7890c7a42..34f3d250d 100644 --- a/src/wasm/literal.cpp +++ b/src/wasm/literal.cpp @@ -125,7 +125,7 @@ Literal::Literal(const Literal& other) : type(other.type) { WASM_UNREACHABLE("TODO: extern literals"); case HeapType::eq: case HeapType::func: - case HeapType::data: + case HeapType::struct_: case HeapType::array: WASM_UNREACHABLE("invalid type"); case HeapType::string: @@ -574,7 +574,7 @@ std::ostream& operator<<(std::ostream& o, Literal literal) { WASM_UNREACHABLE("TODO: extern literals"); case HeapType::eq: case HeapType::func: - case HeapType::data: + case HeapType::struct_: case HeapType::array: WASM_UNREACHABLE("invalid type"); case HeapType::string: |