summaryrefslogtreecommitdiff
path: root/test/min.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2019-07-18 17:08:14 -0700
committerGitHub <noreply@github.com>2019-07-18 17:08:14 -0700
commit8d3bc3f67cd55e99de29b66c43dbe2806a4dcdfb (patch)
tree1ace18f31e002a4303057c5d7c31559fc6e71813 /test/min.fromasm.imprecise
parent9bdf71324b84796170bf099ff64117a03052d937 (diff)
downloadbinaryen-8d3bc3f67cd55e99de29b66c43dbe2806a4dcdfb.tar.gz
binaryen-8d3bc3f67cd55e99de29b66c43dbe2806a4dcdfb.tar.bz2
binaryen-8d3bc3f67cd55e99de29b66c43dbe2806a4dcdfb.zip
SimplifyGlobals: Constant-propagate constant values of immutable globals (#2234)
Diffstat (limited to 'test/min.fromasm.imprecise')
-rw-r--r--test/min.fromasm.imprecise3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/min.fromasm.imprecise b/test/min.fromasm.imprecise
index b87a0b27f..8bf578712 100644
--- a/test/min.fromasm.imprecise
+++ b/test/min.fromasm.imprecise
@@ -1,6 +1,5 @@
(module
(import "env" "memory" (memory $memory 256 256))
- (global $M i32 (i32.const 0))
(export "floats" (func $floats))
(export "getTempRet0" (func $ub))
(export "neg" (func $neg))
@@ -33,6 +32,6 @@
(drop
(call $ub)
)
- (global.get $M)
+ (i32.const 0)
)
)