Skip to content

Commit bd8d512

Browse files
HerrCai0907atc-github
authored andcommitted
chore(test): move opt snapshot test (#111)
1 parent febe986 commit bd8d512

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+140
-110
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/snapshot_diff/gc_fast_lower/normal.diff.wat renamed to tests/snapshot_diff/gc_lower_fast/normal.diff.wat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
;; ====================
2-
(func $tests/snapshot_diff/gc_fast_lower/normal/_start (type $func.0 (func (result i32)))
2+
(func $tests/snapshot_diff/gc_lower_fast/normal/_start (type $func.0 (func (result i32)))
33
(local i32)
44
;; =========add========
55
(local i32)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/snapshot_diff/gc_lower/new_obj_with_conditional_use.diff.wat renamed to tests/snapshot_diff/gc_lower_opt/base/new_obj_with_conditional_use.diff.wat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
;; ====================
2-
(func $tests/snapshot_diff/gc_lower/new_obj_with_conditional_use/_start (type $func.0 (func (result i32)))
2+
(func $tests/snapshot_diff/gc_lower_opt/base/new_obj_with_conditional_use/_start (type $func.0 (func (result i32)))
33
(local i32)
44
;; =========add========
55
(local i32)
@@ -19,7 +19,7 @@
1919
;; ====================
2020
local.set $0
2121
if ;;unreachable
22-
global.get $tests/snapshot_diff/gc_lower/new_obj_with_conditional_use/v
22+
global.get $tests/snapshot_diff/gc_lower_opt/base/new_obj_with_conditional_use/v
2323
;; =========add========
2424
block ;;unreachable
2525
;; ====================

tests/snapshot_diff/gc_lower/new_obj_with_conditional_use.ts renamed to tests/snapshot_diff/gc_lower_opt/base/new_obj_with_conditional_use.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! { "func": "^.*_start$" }
22

3-
import { Normal } from "../common_lib/normal";
3+
import { Normal } from "../../common_lib/normal";
44

55
let v = 0;
66
export function _start(): Normal | null {

0 commit comments

Comments
 (0)