diff options
author | Alon Zakai <azakai@google.com> | 2021-03-03 19:53:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 11:53:26 -0800 |
commit | 11ec03ce930121736655769b9bbccaae0280b64c (patch) | |
tree | 969ca4dc33027f8054789103c908906f5c00cf6c /test/heap-types.wast.fromBinary.noDebugInfo | |
parent | a5e5be42cf32e0232ef7a4c3bce67c289623eea6 (diff) | |
download | binaryen-11ec03ce930121736655769b9bbccaae0280b64c.tar.gz binaryen-11ec03ce930121736655769b9bbccaae0280b64c.tar.bz2 binaryen-11ec03ce930121736655769b9bbccaae0280b64c.zip |
[Wasm GC] Parse text field names even of types that end up canonicalized together (#3647)
Names of structurally identical types end up "collapsed" together after the
types are canonicalized, but with this PR we can properly read content that
has structurally identical types with different names.
Diffstat (limited to 'test/heap-types.wast.fromBinary.noDebugInfo')
-rw-r--r-- | test/heap-types.wast.fromBinary.noDebugInfo | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/heap-types.wast.fromBinary.noDebugInfo b/test/heap-types.wast.fromBinary.noDebugInfo index 074f88ff8..e75ddbe26 100644 --- a/test/heap-types.wast.fromBinary.noDebugInfo +++ b/test/heap-types.wast.fromBinary.noDebugInfo @@ -52,6 +52,11 @@ ) ) (drop + (struct.get ${i32_f32_f64} 2 + (ref.null ${i32_f32_f64}) + ) + ) + (drop (struct.get_u ${i8_mut:i16_ref?|{i32_f32_f64}|_mut:ref?|{i32_f32_f64}|} 0 (local.get $2) ) |