diff options
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r-- | test/emcc_hello_world.fromasm.imprecise | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise index 383826f85..3e6c03d49 100644 --- a/test/emcc_hello_world.fromasm.imprecise +++ b/test/emcc_hello_world.fromasm.imprecise @@ -1792,12 +1792,12 @@ ) ) (func $___syscall_ret (; 41 ;) (; 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 $___errno_location) (i32.sub @@ -1805,10 +1805,12 @@ (local.get $0) ) ) - (i32.const -1) + (local.set $0 + (i32.const -1) + ) ) - (local.get $0) ) + (local.get $0) ) (func $___fflush_unlocked (; 42 ;) (; has Stack IR ;) (param $0 i32) (result i32) (local $1 i32) @@ -14322,7 +14324,6 @@ ) ) (func $_i64Add (; 52 ;) (; has Stack IR ;) (param $0 i32) (param $1 i32) (param $2 i32) (param $3 i32) (result i32) - (local $4 i32) (global.set $tempRet0 (i32.add (i32.add @@ -14330,7 +14331,7 @@ (local.get $3) ) (i32.lt_u - (local.tee $4 + (local.tee $1 (i32.add (local.get $0) (local.get $2) @@ -14340,7 +14341,7 @@ ) ) ) - (local.get $4) + (local.get $1) ) (func $_memset (; 53 ;) (; has Stack IR ;) (param $0 i32) (param $1 i32) (param $2 i32) (result i32) (local $3 i32) |