summaryrefslogtreecommitdiff
path: root/test/lit/help/wasm-metadce.test
diff options
context:
space:
mode:
authorRoberto Lublinerman <rluble@google.com>2024-09-06 19:30:00 -0300
committerGitHub <noreply@github.com>2024-09-06 15:30:00 -0700
commit655eab84019236d02032ceb61570f4f34ee8ac0d (patch)
tree6771057e3f0ee12dc3638cd227f8db2d5a41cdbf /test/lit/help/wasm-metadce.test
parent509d18323cc9513b513bebdc0443e3fd416db692 (diff)
downloadbinaryen-655eab84019236d02032ceb61570f4f34ee8ac0d.tar.gz
binaryen-655eab84019236d02032ceb61570f4f34ee8ac0d.tar.bz2
binaryen-655eab84019236d02032ceb61570f4f34ee8ac0d.zip
Adds a J2CL specific pass that moves itable entries to vtables (#6888)
This allows to remove a reference field from all Java objects reducing the per object memory and initialization overhead. The pass is designed to run direclty on the J2CL output before other optimizations since it relies on invariants that might get lost in optimization. If the invariants don't hold the pass aborts.
Diffstat (limited to 'test/lit/help/wasm-metadce.test')
-rw-r--r--test/lit/help/wasm-metadce.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lit/help/wasm-metadce.test b/test/lit/help/wasm-metadce.test
index 41a43bf1b..4ddf55203 100644
--- a/test/lit/help/wasm-metadce.test
+++ b/test/lit/help/wasm-metadce.test
@@ -248,6 +248,10 @@
;; CHECK-NEXT:
;; CHECK-NEXT: --merge-blocks merges blocks to their parents
;; CHECK-NEXT:
+;; CHECK-NEXT: --merge-j2cl-itables Merges itable structures into
+;; CHECK-NEXT: vtables to make types more
+;; CHECK-NEXT: compact
+;; CHECK-NEXT:
;; CHECK-NEXT: --merge-locals merges locals when beneficial
;; CHECK-NEXT:
;; CHECK-NEXT: --merge-similar-functions merges similar functions when