diff options
Diffstat (limited to 'src/wasm/wasm-stack.cpp')
-rw-r--r-- | src/wasm/wasm-stack.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/wasm/wasm-stack.cpp b/src/wasm/wasm-stack.cpp index c4e1a863c..35ef12993 100644 --- a/src/wasm/wasm-stack.cpp +++ b/src/wasm/wasm-stack.cpp @@ -2017,9 +2017,6 @@ void BinaryInstWriter::visitRefTest(RefTest* curr) { case HeapType::func: o << U32LEB(BinaryConsts::RefIsFunc); return; - case HeapType::data: - o << U32LEB(BinaryConsts::RefIsData); - return; case HeapType::i31: o << U32LEB(BinaryConsts::RefIsI31); return; @@ -2048,9 +2045,6 @@ void BinaryInstWriter::visitRefCast(RefCast* curr) { case HeapType::func: o << U32LEB(BinaryConsts::RefAsFunc); return; - case HeapType::data: - o << U32LEB(BinaryConsts::RefAsData); - return; case HeapType::i31: o << U32LEB(BinaryConsts::RefAsI31); return; @@ -2087,10 +2081,6 @@ void BinaryInstWriter::visitBrOn(BrOn* curr) { o << U32LEB(BinaryConsts::BrOnFunc); o << U32LEB(getBreakIndex(curr->name)); return; - case HeapType::data: - o << U32LEB(BinaryConsts::BrOnData); - o << U32LEB(getBreakIndex(curr->name)); - return; case HeapType::i31: o << U32LEB(BinaryConsts::BrOnI31); o << U32LEB(getBreakIndex(curr->name)); @@ -2117,10 +2107,6 @@ void BinaryInstWriter::visitBrOn(BrOn* curr) { o << U32LEB(BinaryConsts::BrOnNonFunc); o << U32LEB(getBreakIndex(curr->name)); return; - case HeapType::data: - o << U32LEB(BinaryConsts::BrOnNonData); - o << U32LEB(getBreakIndex(curr->name)); - return; case HeapType::i31: o << U32LEB(BinaryConsts::BrOnNonI31); o << U32LEB(getBreakIndex(curr->name)); |