summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/passes/too_much_for_liveness.bin.txt35
-rw-r--r--test/passes/too_much_for_liveness.passes1
-rw-r--r--test/passes/too_much_for_liveness.wasmbin0 -> 44 bytes
3 files changed, 36 insertions, 0 deletions
diff --git a/test/passes/too_much_for_liveness.bin.txt b/test/passes/too_much_for_liveness.bin.txt
new file mode 100644
index 000000000..29433a77c
--- /dev/null
+++ b/test/passes/too_much_for_liveness.bin.txt
@@ -0,0 +1,35 @@
+total
+ [events] : 0
+ [exports] : 1
+ [funcs] : 1
+ [globals] : 0
+ [imports] : 0
+ [total] : 4
+ [vars] : 65536
+ block : 1
+ const : 1
+ local.get : 1
+ local.set : 1
+total
+ [events] : 0
+ [exports] : 1
+ [funcs] : 1
+ [globals] : 0
+ [imports] : 0
+ [total] : 4
+ [vars] : 65536
+ block : 1
+ const : 1
+ local.get : 1
+ local.set : 1
+(module
+ (type $none_=>_i32 (func (result i32)))
+ (export "foo" (func $0))
+ (func $0 (; 0 ;) (result i32)
+ (local $0 i32)
+ (local.set $0
+ (i32.const 0)
+ )
+ (local.get $0)
+ )
+)
diff --git a/test/passes/too_much_for_liveness.passes b/test/passes/too_much_for_liveness.passes
new file mode 100644
index 000000000..719d0bbcd
--- /dev/null
+++ b/test/passes/too_much_for_liveness.passes
@@ -0,0 +1 @@
+metrics_coalesce-locals_metrics_reorder-locals
diff --git a/test/passes/too_much_for_liveness.wasm b/test/passes/too_much_for_liveness.wasm
new file mode 100644
index 000000000..88929243d
--- /dev/null
+++ b/test/passes/too_much_for_liveness.wasm
Binary files differ