diff options
Diffstat (limited to 'test/passes/O2_precompute-propagate_print-stack-ir.wast')
-rw-r--r-- | test/passes/O2_precompute-propagate_print-stack-ir.wast | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/passes/O2_precompute-propagate_print-stack-ir.wast b/test/passes/O2_precompute-propagate_print-stack-ir.wast index f6f0dae9f..96a7d8797 100644 --- a/test/passes/O2_precompute-propagate_print-stack-ir.wast +++ b/test/passes/O2_precompute-propagate_print-stack-ir.wast @@ -2,17 +2,17 @@ (func "func" (param $var$0 i32) (param $var$1 i32) (param $var$2 i32) (param $var$3 i64) (result i64) (local $var$4 i32) (block $label$1 - (set_local $var$3 + (local.set $var$3 (i64.const 2147483647) ) (br_if $label$1 - (get_local $var$4) ;; precompute-propagate will optimize this into 0, then the br_if is nopped + (local.get $var$4) ;; precompute-propagate will optimize this into 0, then the br_if is nopped ;; in place. if stack ir is not regenerated, that means we have the get ;; on the stack from before, and the br_if is now a nop, which means no one ;; pops the get ) ) - (get_local $var$3) + (local.get $var$3) ) ) |