diff options
Diffstat (limited to 'test/memorygrowth.fromasm')
-rw-r--r-- | test/memorygrowth.fromasm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/memorygrowth.fromasm b/test/memorygrowth.fromasm index 9431268a8..dbf763a92 100644 --- a/test/memorygrowth.fromasm +++ b/test/memorygrowth.fromasm @@ -9211,12 +9211,12 @@ (local.get $0) ) (func $Pa (; 30 ;) (; has Stack IR ;) (param $0 i32) (result i32) - (if (result i32) + (if (i32.gt_u (local.get $0) (i32.const -4096) ) - (block (result i32) + (block (i32.store (call $Qa) (i32.sub @@ -9224,10 +9224,12 @@ (local.get $0) ) ) - (i32.const -1) + (local.set $0 + (i32.const -1) + ) ) - (local.get $0) ) + (local.get $0) ) (func $Qa (; 31 ;) (; has Stack IR ;) (result i32) (if (result i32) |