diff options
Diffstat (limited to 'test/passes/const-hoisting.txt')
-rw-r--r-- | test/passes/const-hoisting.txt | 216 |
1 files changed, 108 insertions, 108 deletions
diff --git a/test/passes/const-hoisting.txt b/test/passes/const-hoisting.txt index 130f3214c..a03386014 100644 --- a/test/passes/const-hoisting.txt +++ b/test/passes/const-hoisting.txt @@ -8,22 +8,22 @@ (local $4 i32) (local $5 i32) (block - (set_local $0 + (local.set $0 (i32.const -1048577) ) - (set_local $1 + (local.set $1 (i32.const -1048576) ) - (set_local $2 + (local.set $2 (i32.const -8193) ) - (set_local $3 + (local.set $3 (i32.const 8192) ) - (set_local $4 + (local.set $4 (i32.const 1048575) ) - (set_local $5 + (local.set $5 (i32.const 1048576) ) ) @@ -41,13 +41,13 @@ (i32.const 8191) ) (drop - (get_local $3) + (local.get $3) ) (drop - (get_local $4) + (local.get $4) ) (drop - (get_local $5) + (local.get $5) ) (drop (i32.const -64) @@ -59,13 +59,13 @@ (i32.const -8192) ) (drop - (get_local $2) + (local.get $2) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop (i32.const 0) @@ -80,13 +80,13 @@ (i32.const 8191) ) (drop - (get_local $3) + (local.get $3) ) (drop - (get_local $4) + (local.get $4) ) (drop - (get_local $5) + (local.get $5) ) (drop (i32.const -64) @@ -98,13 +98,13 @@ (i32.const -8192) ) (drop - (get_local $2) + (local.get $2) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop (i32.const 0) @@ -119,13 +119,13 @@ (i32.const 8191) ) (drop - (get_local $3) + (local.get $3) ) (drop - (get_local $4) + (local.get $4) ) (drop - (get_local $5) + (local.get $5) ) (drop (i32.const -64) @@ -137,13 +137,13 @@ (i32.const -8192) ) (drop - (get_local $2) + (local.get $2) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop (i32.const 0) @@ -158,13 +158,13 @@ (i32.const 8191) ) (drop - (get_local $3) + (local.get $3) ) (drop - (get_local $4) + (local.get $4) ) (drop - (get_local $5) + (local.get $5) ) (drop (i32.const -64) @@ -176,13 +176,13 @@ (i32.const -8192) ) (drop - (get_local $2) + (local.get $2) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop (i32.const 0) @@ -197,13 +197,13 @@ (i32.const 8191) ) (drop - (get_local $3) + (local.get $3) ) (drop - (get_local $4) + (local.get $4) ) (drop - (get_local $5) + (local.get $5) ) (drop (i32.const -64) @@ -215,13 +215,13 @@ (i32.const -8192) ) (drop - (get_local $2) + (local.get $2) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop (i32.const 0) @@ -236,13 +236,13 @@ (i32.const 8191) ) (drop - (get_local $3) + (local.get $3) ) (drop - (get_local $4) + (local.get $4) ) (drop - (get_local $5) + (local.get $5) ) (drop (i32.const -64) @@ -254,13 +254,13 @@ (i32.const -8192) ) (drop - (get_local $2) + (local.get $2) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop (i32.const 0) @@ -275,13 +275,13 @@ (i32.const 8191) ) (drop - (get_local $3) + (local.get $3) ) (drop - (get_local $4) + (local.get $4) ) (drop - (get_local $5) + (local.get $5) ) (drop (i32.const -64) @@ -293,13 +293,13 @@ (i32.const -8192) ) (drop - (get_local $2) + (local.get $2) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop (i32.const 0) @@ -314,13 +314,13 @@ (i32.const 8191) ) (drop - (get_local $3) + (local.get $3) ) (drop - (get_local $4) + (local.get $4) ) (drop - (get_local $5) + (local.get $5) ) (drop (i32.const -64) @@ -332,13 +332,13 @@ (i32.const -8192) ) (drop - (get_local $2) + (local.get $2) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop (i32.const 0) @@ -353,13 +353,13 @@ (i32.const 8191) ) (drop - (get_local $3) + (local.get $3) ) (drop - (get_local $4) + (local.get $4) ) (drop - (get_local $5) + (local.get $5) ) (drop (i32.const -64) @@ -371,13 +371,13 @@ (i32.const -8192) ) (drop - (get_local $2) + (local.get $2) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop (i32.const 0) @@ -392,13 +392,13 @@ (i32.const 8191) ) (drop - (get_local $3) + (local.get $3) ) (drop - (get_local $4) + (local.get $4) ) (drop - (get_local $5) + (local.get $5) ) (drop (i32.const -64) @@ -410,13 +410,13 @@ (i32.const -8192) ) (drop - (get_local $2) + (local.get $2) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) ) ) @@ -424,73 +424,73 @@ (local $0 f32) (local $1 f64) (block - (set_local $0 + (local.set $0 (f32.const 0) ) - (set_local $1 + (local.set $1 (f64.const 0) ) ) (block (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $1) + (local.get $1) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $1) + (local.get $1) ) ) ) @@ -514,28 +514,28 @@ (func $just-enough (; 3 ;) (type $0) (local $0 i32) (block - (set_local $0 + (local.set $0 (i32.const 8192) ) ) (block (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $0) + (local.get $0) ) ) ) @@ -553,22 +553,22 @@ (func $enough-b (; 5 ;) (type $0) (local $0 i32) (block - (set_local $0 + (local.set $0 (i32.const 1048576) ) ) (block (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $0) + (local.get $0) ) ) ) @@ -586,22 +586,22 @@ (func $enough-c (; 7 ;) (type $0) (local $0 f32) (block - (set_local $0 + (local.set $0 (f32.const 0) ) ) (block (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $0) + (local.get $0) ) ) ) @@ -613,16 +613,16 @@ (func $enough-d (; 9 ;) (type $0) (local $0 f64) (block - (set_local $0 + (local.set $0 (f64.const 0) ) ) (block (drop - (get_local $0) + (local.get $0) ) (drop - (get_local $0) + (local.get $0) ) ) ) |