Skip to content

Commit fb970f8

Browse files
committed
todo
1 parent be5b60a commit fb970f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/lit/passes/simplify-globals-gc.wast

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
;; One global reads another, and should contain the same value. We should not
5959
;; erroneously optimize the global.get to a struct.new, as struct.new generates
6060
;; a new value each time, and the export allows that difference to be noticed.
61+
;; TODO: We could flip the export to read $B instead, basically considering it
62+
;; a use that we can modify, like global.gets that we already do.
6163
(module
6264
;; CHECK: (type $struct (struct))
6365
(type $struct (struct))

0 commit comments

Comments
 (0)