summaryrefslogtreecommitdiff
path: root/test/passes/code-pushing_ignore-implicit-traps.txt
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2017-10-20 19:38:31 -0700
committerGitHub <noreply@github.com>2017-10-20 19:38:31 -0700
commit1005b1267f70a5a7cf7a8774af6c12d813464720 (patch)
tree04b27ca5a8fddcef4941681ec81d680c4351c74a /test/passes/code-pushing_ignore-implicit-traps.txt
parent71dc0791361a79e4346eb84ebadf77a324767e32 (diff)
downloadbinaryen-1005b1267f70a5a7cf7a8774af6c12d813464720.tar.gz
binaryen-1005b1267f70a5a7cf7a8774af6c12d813464720.tar.bz2
binaryen-1005b1267f70a5a7cf7a8774af6c12d813464720.zip
Emit binary function index in comment in text format, for convenience (#1232)
Diffstat (limited to 'test/passes/code-pushing_ignore-implicit-traps.txt')
-rw-r--r--test/passes/code-pushing_ignore-implicit-traps.txt50
1 files changed, 25 insertions, 25 deletions
diff --git a/test/passes/code-pushing_ignore-implicit-traps.txt b/test/passes/code-pushing_ignore-implicit-traps.txt
index b20bc49aa..58b124ec9 100644
--- a/test/passes/code-pushing_ignore-implicit-traps.txt
+++ b/test/passes/code-pushing_ignore-implicit-traps.txt
@@ -2,7 +2,7 @@
(type $0 (func))
(type $1 (func (result i32)))
(memory $0 0)
- (func $push1 (type $0)
+ (func $push1 (; 0 ;) (type $0)
(local $x i32)
(block $out
(br_if $out
@@ -16,7 +16,7 @@
)
)
)
- (func $push2 (type $0)
+ (func $push2 (; 1 ;) (type $0)
(local $x i32)
(local $y i32)
(block $out
@@ -37,7 +37,7 @@
)
)
)
- (func $push1-twice (type $0)
+ (func $push1-twice (; 2 ;) (type $0)
(local $x i32)
(block $out
(br_if $out
@@ -54,7 +54,7 @@
)
)
)
- (func $push1-twiceb (type $0)
+ (func $push1-twiceb (; 3 ;) (type $0)
(local $x i32)
(block $out
(br_if $out
@@ -72,7 +72,7 @@
)
)
)
- (func $push2-twice (type $0)
+ (func $push2-twice (; 4 ;) (type $0)
(local $x i32)
(local $y i32)
(block $out
@@ -96,7 +96,7 @@
)
)
)
- (func $ignore-last (type $0)
+ (func $ignore-last (; 5 ;) (type $0)
(local $x i32)
(block $out
(set_local $x
@@ -107,7 +107,7 @@
)
)
)
- (func $ignore-last2 (type $0)
+ (func $ignore-last2 (; 6 ;) (type $0)
(local $x i32)
(block $out
(set_local $x
@@ -120,7 +120,7 @@
)
)
)
- (func $push-if (type $0)
+ (func $push-if (; 7 ;) (type $0)
(local $x i32)
(block $out
(if
@@ -135,7 +135,7 @@
)
)
)
- (func $push-dropped (type $1) (result i32)
+ (func $push-dropped (; 8 ;) (type $1) (result i32)
(local $x i32)
(block $out (result i32)
(drop
@@ -153,7 +153,7 @@
(i32.const 4)
)
)
- (func $push-past-stuff (type $0)
+ (func $push-past-stuff (; 9 ;) (type $0)
(local $x i32)
(block $out
(call $push-past-stuff)
@@ -171,7 +171,7 @@
)
)
)
- (func $fail-then-push (type $0)
+ (func $fail-then-push (; 10 ;) (type $0)
(local $x i32)
(local $y i32)
(block $out
@@ -198,7 +198,7 @@
)
)
)
- (func $used (type $0)
+ (func $used (; 11 ;) (type $0)
(local $x i32)
(block $out
(set_local $x
@@ -212,7 +212,7 @@
)
)
)
- (func $not-sfa (type $0)
+ (func $not-sfa (; 12 ;) (type $0)
(local $x i32)
(set_local $x
(i32.const 1)
@@ -229,7 +229,7 @@
)
)
)
- (func $not-sfa2 (type $0)
+ (func $not-sfa2 (; 13 ;) (type $0)
(local $x i32)
(drop
(get_local $x)
@@ -246,7 +246,7 @@
)
)
)
- (func $used-out (type $0)
+ (func $used-out (; 14 ;) (type $0)
(local $x i32)
(block $out
(set_local $x
@@ -263,7 +263,7 @@
(get_local $x)
)
)
- (func $value-might-interfere (type $0)
+ (func $value-might-interfere (; 15 ;) (type $0)
(local $x i32)
(block $out
(br_if $out
@@ -279,7 +279,7 @@
)
)
)
- (func $value-interferes (type $0)
+ (func $value-interferes (; 16 ;) (type $0)
(local $x i32)
(block $out
(set_local $x
@@ -299,7 +299,7 @@
)
)
)
- (func $value-interferes-accumulation (type $0)
+ (func $value-interferes-accumulation (; 17 ;) (type $0)
(local $x i32)
(block $out
(set_local $x
@@ -321,7 +321,7 @@
)
)
)
- (func $value-interferes-in-pushpoint (type $0)
+ (func $value-interferes-in-pushpoint (; 18 ;) (type $0)
(local $x i32)
(block $out
(set_local $x
@@ -338,7 +338,7 @@
)
)
)
- (func $values-might-interfere (type $0)
+ (func $values-might-interfere (; 19 ;) (type $0)
(local $x i32)
(local $y i32)
(block $out
@@ -359,7 +359,7 @@
)
)
)
- (func $unpushed-interferes (type $0)
+ (func $unpushed-interferes (; 20 ;) (type $0)
(local $x i32)
(local $y i32)
(block $out
@@ -383,7 +383,7 @@
(get_local $y)
)
)
- (func $unpushed-ignorable (type $0)
+ (func $unpushed-ignorable (; 21 ;) (type $0)
(local $x i32)
(local $y i32)
(block $out
@@ -407,7 +407,7 @@
(get_local $x)
)
)
- (func $unpushed-ignorable-side-effect (type $0)
+ (func $unpushed-ignorable-side-effect (; 22 ;) (type $0)
(local $x i32)
(local $y i32)
(block $out
@@ -428,7 +428,7 @@
)
)
)
- (func $unpushed-side-effect-into-drop (type $0)
+ (func $unpushed-side-effect-into-drop (; 23 ;) (type $0)
(local $x i32)
(block $out
(set_local $x
@@ -442,7 +442,7 @@
)
)
)
- (func $unpushed-side-effect-into-if (type $0)
+ (func $unpushed-side-effect-into-if (; 24 ;) (type $0)
(local $x i32)
(block $out
(set_local $x