Skip to content

Commit 3bc97b9

Browse files
committed
Run zjit-test-update
1 parent 17395ca commit 3bc97b9

1 file changed

Lines changed: 36 additions & 36 deletions

File tree

zjit/src/hir/opt_tests.rs

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -9523,7 +9523,7 @@ mod hir_opt_tests {
95239523
test
95249524
");
95259525
assert_snapshot!(hir_string("test"), @r"
9526-
fn test@<compiled>:12:
9526+
fn test@<compiled>:11:
95279527
bb0():
95289528
EntryPoint interpreter
95299529
v1:BasicObject = LoadSelf
@@ -9538,9 +9538,9 @@ mod hir_opt_tests {
95389538
PatchPoint MethodRedefined(TestFrozen@0x1010, a@0x1018, cme:0x1020)
95399539
PatchPoint NoSingletonClass(TestFrozen@0x1010)
95409540
v25:HeapObject[VALUE(0x1008)] = GuardShape v20, 0x1048
9541-
v35:Fixnum[1] = Const Value(1)
9541+
v27:Fixnum[1] = Const Value(1)
95429542
CheckInterrupts
9543-
Return v35
9543+
Return v27
95449544
");
95459545
}
95469546

@@ -9564,7 +9564,7 @@ mod hir_opt_tests {
95649564
test
95659565
");
95669566
assert_snapshot!(hir_string("test"), @r"
9567-
fn test@<compiled>:14:
9567+
fn test@<compiled>:13:
95689568
bb0():
95699569
EntryPoint interpreter
95709570
v1:BasicObject = LoadSelf
@@ -9579,9 +9579,9 @@ mod hir_opt_tests {
95799579
PatchPoint MethodRedefined(TestMultiIvars@0x1010, b@0x1018, cme:0x1020)
95809580
PatchPoint NoSingletonClass(TestMultiIvars@0x1010)
95819581
v25:HeapObject[VALUE(0x1008)] = GuardShape v20, 0x1048
9582-
v35:Fixnum[20] = Const Value(20)
9582+
v27:Fixnum[20] = Const Value(20)
95839583
CheckInterrupts
9584-
Return v35
9584+
Return v27
95859585
");
95869586
}
95879587

@@ -9602,8 +9602,8 @@ mod hir_opt_tests {
96029602
test
96039603
test
96049604
"#);
9605-
assert_snapshot!(hir_string("test"), @r#"
9606-
fn test@<compiled>:12:
9605+
assert_snapshot!(hir_string("test"), @r"
9606+
fn test@<compiled>:11:
96079607
bb0():
96089608
EntryPoint interpreter
96099609
v1:BasicObject = LoadSelf
@@ -9618,10 +9618,10 @@ mod hir_opt_tests {
96189618
PatchPoint MethodRedefined(TestFrozenStr@0x1010, name@0x1018, cme:0x1020)
96199619
PatchPoint NoSingletonClass(TestFrozenStr@0x1010)
96209620
v25:HeapObject[VALUE(0x1008)] = GuardShape v20, 0x1048
9621-
v35:String = Const Value(VALUE(0x1050))
9621+
v27:StringExact[VALUE(0x1050)] = Const Value(VALUE(0x1050))
96229622
CheckInterrupts
9623-
Return v35
9624-
"#);
9623+
Return v27
9624+
");
96259625
}
96269626

96279627
#[test]
@@ -9642,7 +9642,7 @@ mod hir_opt_tests {
96429642
test
96439643
");
96449644
assert_snapshot!(hir_string("test"), @r"
9645-
fn test@<compiled>:12:
9645+
fn test@<compiled>:11:
96469646
bb0():
96479647
EntryPoint interpreter
96489648
v1:BasicObject = LoadSelf
@@ -9657,9 +9657,9 @@ mod hir_opt_tests {
96579657
PatchPoint MethodRedefined(TestFrozenNil@0x1010, value@0x1018, cme:0x1020)
96589658
PatchPoint NoSingletonClass(TestFrozenNil@0x1010)
96599659
v25:HeapObject[VALUE(0x1008)] = GuardShape v20, 0x1048
9660-
v35:NilClass = Const Value(nil)
9660+
v27:NilClass = Const Value(nil)
96619661
CheckInterrupts
9662-
Return v35
9662+
Return v27
96639663
");
96649664
}
96659665

@@ -9681,7 +9681,7 @@ mod hir_opt_tests {
96819681
test
96829682
");
96839683
assert_snapshot!(hir_string("test"), @r"
9684-
fn test@<compiled>:12:
9684+
fn test@<compiled>:11:
96859685
bb0():
96869686
EntryPoint interpreter
96879687
v1:BasicObject = LoadSelf
@@ -9720,7 +9720,7 @@ mod hir_opt_tests {
97209720
test
97219721
");
97229722
assert_snapshot!(hir_string("test"), @r"
9723-
fn test@<compiled>:12:
9723+
fn test@<compiled>:11:
97249724
bb0():
97259725
EntryPoint interpreter
97269726
v1:BasicObject = LoadSelf
@@ -9735,9 +9735,9 @@ mod hir_opt_tests {
97359735
PatchPoint MethodRedefined(TestAttrReader@0x1010, value@0x1018, cme:0x1020)
97369736
PatchPoint NoSingletonClass(TestAttrReader@0x1010)
97379737
v25:HeapObject[VALUE(0x1008)] = GuardShape v20, 0x1048
9738-
v35:Fixnum[42] = Const Value(42)
9738+
v27:Fixnum[42] = Const Value(42)
97399739
CheckInterrupts
9740-
Return v35
9740+
Return v27
97419741
");
97429742
}
97439743

@@ -9759,7 +9759,7 @@ mod hir_opt_tests {
97599759
test
97609760
");
97619761
assert_snapshot!(hir_string("test"), @r"
9762-
fn test@<compiled>:12:
9762+
fn test@<compiled>:11:
97639763
bb0():
97649764
EntryPoint interpreter
97659765
v1:BasicObject = LoadSelf
@@ -9774,9 +9774,9 @@ mod hir_opt_tests {
97749774
PatchPoint MethodRedefined(TestFrozenSym@0x1010, sym@0x1018, cme:0x1020)
97759775
PatchPoint NoSingletonClass(TestFrozenSym@0x1010)
97769776
v25:HeapObject[VALUE(0x1008)] = GuardShape v20, 0x1048
9777-
v35:StaticSymbol[:hello] = Const Value(:hello)
9777+
v27:StaticSymbol[:hello] = Const Value(VALUE(0x1050))
97789778
CheckInterrupts
9779-
Return v35
9779+
Return v27
97809780
");
97819781
}
97829782

@@ -9798,7 +9798,7 @@ mod hir_opt_tests {
97989798
test
97999799
");
98009800
assert_snapshot!(hir_string("test"), @r"
9801-
fn test@<compiled>:12:
9801+
fn test@<compiled>:11:
98029802
bb0():
98039803
EntryPoint interpreter
98049804
v1:BasicObject = LoadSelf
@@ -9813,9 +9813,9 @@ mod hir_opt_tests {
98139813
PatchPoint MethodRedefined(TestFrozenBool@0x1010, flag@0x1018, cme:0x1020)
98149814
PatchPoint NoSingletonClass(TestFrozenBool@0x1010)
98159815
v25:HeapObject[VALUE(0x1008)] = GuardShape v20, 0x1048
9816-
v35:TrueClass = Const Value(true)
9816+
v27:TrueClass = Const Value(true)
98179817
CheckInterrupts
9818-
Return v35
9818+
Return v27
98199819
");
98209820
}
98219821

@@ -9875,7 +9875,7 @@ mod hir_opt_tests {
98759875
test
98769876
");
98779877
assert_snapshot!(hir_string("test"), @r"
9878-
fn test@<compiled>:14:
9878+
fn test@<compiled>:12:
98799879
bb0():
98809880
EntryPoint interpreter
98819881
v1:BasicObject = LoadSelf
@@ -9886,23 +9886,23 @@ mod hir_opt_tests {
98869886
bb2(v6:BasicObject):
98879887
PatchPoint SingleRactorMode
98889888
PatchPoint StableConstantNames(0x1000, NESTED_FROZEN)
9889-
v20:HeapObject[VALUE(0x1008)] = Const Value(VALUE(0x1008))
9889+
v28:HeapObject[VALUE(0x1008)] = Const Value(VALUE(0x1008))
98909890
PatchPoint MethodRedefined(TestNestedAccess@0x1010, x@0x1018, cme:0x1020)
98919891
PatchPoint NoSingletonClass(TestNestedAccess@0x1010)
9892-
v25:HeapObject[VALUE(0x1008)] = GuardShape v20, 0x1048
9893-
v37:Fixnum[100] = Const Value(100)
9892+
v39:HeapObject[VALUE(0x1008)] = GuardShape v28, 0x1048
9893+
v50:Fixnum[100] = Const Value(100)
98949894
PatchPoint SingleRactorMode
9895-
PatchPoint StableConstantNames(0x1000, NESTED_FROZEN)
9896-
v31:HeapObject[VALUE(0x1008)] = Const Value(VALUE(0x1008))
9897-
PatchPoint MethodRedefined(TestNestedAccess@0x1010, y@0x1050, cme:0x1058)
9895+
PatchPoint StableConstantNames(0x1050, NESTED_FROZEN)
9896+
v34:HeapObject[VALUE(0x1008)] = Const Value(VALUE(0x1008))
9897+
PatchPoint MethodRedefined(TestNestedAccess@0x1010, y@0x1058, cme:0x1060)
98989898
PatchPoint NoSingletonClass(TestNestedAccess@0x1010)
9899-
v36:HeapObject[VALUE(0x1008)] = GuardShape v31, 0x1048
9900-
v38:Fixnum[200] = Const Value(200)
9901-
PatchPoint MethodRedefined(Integer@0x1060, +@0x1068, cme:0x1070)
9902-
v39:Fixnum[300] = Const Value(300)
9899+
v42:HeapObject[VALUE(0x1008)] = GuardShape v34, 0x1048
9900+
v51:Fixnum[200] = Const Value(200)
9901+
PatchPoint MethodRedefined(Integer@0x1088, +@0x1090, cme:0x1098)
9902+
v52:Fixnum[300] = Const Value(300)
99039903
IncrCounter inline_cfunc_optimized_send_count
99049904
CheckInterrupts
9905-
Return v39
9905+
Return v52
99069906
");
99079907
}
99089908
}

0 commit comments

Comments
 (0)