diff options
Diffstat (limited to 'test/min.fromasm')
-rw-r--r-- | test/min.fromasm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/min.fromasm b/test/min.fromasm index 1f68b2acf..f10cb742b 100644 --- a/test/min.fromasm +++ b/test/min.fromasm @@ -28,14 +28,17 @@ ) ) (func $legalstub$neg (; 3 ;) (param $0 i32) (param $1 i32) (result f64) + (local $2 i32) (i32.store - (get_local $0) + (tee_local $2 + (get_local $0) + ) (get_local $1) ) (f64.promote/f32 (f32.neg (f32.load - (get_local $0) + (get_local $2) ) ) ) |