diff options
author | Daniel Wirtz <dcode@dcode.io> | 2020-09-21 09:45:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 09:45:58 +0200 |
commit | 51350a8d2e7a361cf658951798351fc242420328 (patch) | |
tree | 8bc71e9126b719c4d1785d0f5bbb6248a601176f /src/ir/ReFinalize.cpp | |
parent | e35cdb97adf6eb2ade2be7734d1c6c397d440dc1 (diff) | |
download | binaryen-51350a8d2e7a361cf658951798351fc242420328.tar.gz binaryen-51350a8d2e7a361cf658951798351fc242420328.tar.bz2 binaryen-51350a8d2e7a361cf658951798351fc242420328.zip |
GC: Add ref.eq instruction (#3145)
With `eqref` now integrated, the `ref.eq` instruction can be implemented. The only valid LHS and RHS value is `(ref.null eq)` for now, but implementation and fuzzer integration is otherwise complete.
Diffstat (limited to 'src/ir/ReFinalize.cpp')
-rw-r--r-- | src/ir/ReFinalize.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir/ReFinalize.cpp b/src/ir/ReFinalize.cpp index b6e2a1b59..99387ada1 100644 --- a/src/ir/ReFinalize.cpp +++ b/src/ir/ReFinalize.cpp @@ -124,6 +124,7 @@ void ReFinalize::visitMemoryGrow(MemoryGrow* curr) { curr->finalize(); } void ReFinalize::visitRefNull(RefNull* curr) { curr->finalize(); } void ReFinalize::visitRefIsNull(RefIsNull* curr) { curr->finalize(); } void ReFinalize::visitRefFunc(RefFunc* curr) { curr->finalize(); } +void ReFinalize::visitRefEq(RefEq* curr) { curr->finalize(); } void ReFinalize::visitTry(Try* curr) { curr->finalize(); } void ReFinalize::visitThrow(Throw* curr) { curr->finalize(); } void ReFinalize::visitRethrow(Rethrow* curr) { curr->finalize(); } |