From bcd54a0152e4eebeddd8737a5b1210a4b21b002b Mon Sep 17 00:00:00 2001 From: losfair Date: Wed, 26 Jun 2019 11:31:31 +0800 Subject: [PATCH] Cleanup temporary files. --- examples/single_pass_tests/read_stack.wat | 67 ------------------- .../single_pass_tests/read_stack.wat.expected | 11 --- 2 files changed, 78 deletions(-) delete mode 100644 examples/single_pass_tests/read_stack.wat delete mode 100644 examples/single_pass_tests/read_stack.wat.expected diff --git a/examples/single_pass_tests/read_stack.wat b/examples/single_pass_tests/read_stack.wat deleted file mode 100644 index cec6d4f97..000000000 --- a/examples/single_pass_tests/read_stack.wat +++ /dev/null @@ -1,67 +0,0 @@ -(module - (type $t1 (func)) - (func $stack_read (import "wasi_unstable" "stack_read") (type $t1)) - - (func $_start (export "_start") - (local $x i32) - (i32.const 1) - (i32.const 2) - (i32.add) - - (i32.const 1) - - (i32.const 3) - (i32.const 4) - (i32.add) - - (call $f1 - (i32.const 10) - (i32.const 42) - (i32.const 43) - (i32.const 44) - (i32.const 45) - (i32.const 46) - (i32.const 47) - (i32.const 48) - (i32.const 49) - ) - - (drop) - (drop) - (drop) - ) - - (func $f1 (param $x i32) (param $v1 i32) (param $v2 i32) (param $v3 i32) (param $v4 i32) (param $v5 i32) (param $v6 i32) (param $v7 i32) (param $v8 i32) - (if (i32.eq (get_local $x) (i32.const 1)) - (then call $stack_read) - (else (call $f2 - (i32.sub (get_local $x) (i32.const 1)) - (get_local $v1) - (get_local $v2) - (get_local $v3) - (get_local $v4) - (get_local $v5) - (get_local $v6) - (get_local $v7) - (get_local $v8) - )) - ) - ) - - (func $f2 (param $x i32) (param $v1 i32) (param $v2 i32) (param $v3 i32) (param $v4 i32) (param $v5 i32) (param $v6 i32) (param $v7 i32) (param $v8 i32) - (if (i32.eq (get_local $x) (i32.const 1)) - (then call $stack_read) - (else (call $f1 - (i32.sub (get_local $x) (i32.const 1)) - (get_local $v1) - (get_local $v2) - (get_local $v3) - (get_local $v4) - (get_local $v5) - (get_local $v6) - (get_local $v7) - (get_local $v8) - )) - ) - ) -) diff --git a/examples/single_pass_tests/read_stack.wat.expected b/examples/single_pass_tests/read_stack.wat.expected deleted file mode 100644 index 3aa05671a..000000000 --- a/examples/single_pass_tests/read_stack.wat.expected +++ /dev/null @@ -1,11 +0,0 @@ -Frame #0: 0x110f25251 WasmFunctionState { stack: [], locals: [1, 42, 43, 44, 45, 46, 47, 48, 49] } -Frame #1: 0x110f25195 WasmFunctionState { stack: [], locals: [2, 42, 43, 44, 45, 46, 47, 48, 49] } -Frame #2: 0x110f2529c WasmFunctionState { stack: [], locals: [3, 42, 43, 44, 45, 46, 47, 48, 49] } -Frame #3: 0x110f25195 WasmFunctionState { stack: [], locals: [4, 42, 43, 44, 45, 46, 47, 48, 49] } -Frame #4: 0x110f2529c WasmFunctionState { stack: [], locals: [5, 42, 43, 44, 45, 46, 47, 48, 49] } -Frame #5: 0x110f25195 WasmFunctionState { stack: [], locals: [6, 42, 43, 44, 45, 46, 47, 48, 49] } -Frame #6: 0x110f2529c WasmFunctionState { stack: [], locals: [7, 42, 43, 44, 45, 46, 47, 48, 49] } -Frame #7: 0x110f25195 WasmFunctionState { stack: [], locals: [8, 42, 43, 44, 45, 46, 47, 48, 49] } -Frame #8: 0x110f2529c WasmFunctionState { stack: [], locals: [9, 42, 43, 44, 45, 46, 47, 48, 49] } -Frame #9: 0x110f25195 WasmFunctionState { stack: [], locals: [10, 42, 43, 44, 45, 46, 47, 48, 49] } -Frame #10: 0x110f25090 WasmFunctionState { stack: [Some(3), None, Some(7)], locals: [0] }