summaryrefslogtreecommitdiff
path: root/test/lit/passes/precompute-gc.wast
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-02-12 13:29:27 -0800
committerGitHub <noreply@github.com>2024-02-12 13:29:27 -0800
commit1948008a8c7ceca1ca278e76bdca72eebba0dae7 (patch)
tree9b48a403d8279d70db0ac932b45e03cd2fdc1f2d /test/lit/passes/precompute-gc.wast
parent34d35ae7c0a8e42f94fd02b4b1aa64aec3621a05 (diff)
downloadbinaryen-1948008a8c7ceca1ca278e76bdca72eebba0dae7.tar.gz
binaryen-1948008a8c7ceca1ca278e76bdca72eebba0dae7.tar.bz2
binaryen-1948008a8c7ceca1ca278e76bdca72eebba0dae7.zip
Precompute: Optimize array.len (#6299)
Arrays have immutable length, so we can optimize them like immutable fields.
Diffstat (limited to 'test/lit/passes/precompute-gc.wast')
-rw-r--r--test/lit/passes/precompute-gc.wast2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/lit/passes/precompute-gc.wast b/test/lit/passes/precompute-gc.wast
index 8d4b56ce7..824587df9 100644
--- a/test/lit/passes/precompute-gc.wast
+++ b/test/lit/passes/precompute-gc.wast
@@ -20,8 +20,6 @@
(type $struct_i8 (struct (field i8)))
- (type $array16 (array (mut i16)))
-
(type $func-return-i32 (func (result i32)))
;; CHECK: (import "fuzzing-support" "log-i32" (func $log (type $4) (param i32)))