@@ -15659,8 +15659,33 @@ mod hir_opt_tests {
1565915659 end
1566015660 IFuncTestList.new.map { |x| x }
1566115661 ");
15662- assert_snapshot!(hir_string_proc("IFuncTestList.instance_method(:each)"), @"
15662+ assert_snapshot!(hir_string_proc("IFuncTestList.instance_method(:each)"), @r "
1566315663 fn each@<compiled>:5:
15664+ bb1():
15665+ EntryPoint interpreter
15666+ v1:BasicObject = LoadSelf
15667+ Jump bb3(v1)
15668+ bb2():
15669+ EntryPoint JIT(0)
15670+ v4:BasicObject = LoadArg :self@0
15671+ Jump bb3(v4)
15672+ bb3(v6:BasicObject):
15673+ v10:Fixnum[1] = Const Value(1)
15674+ v12:CPtr = GetEP 0
15675+ v13:CInt64 = LoadField v12, :_env_data_index_specval@0x1000
15676+ v14:CInt64[3] = Const CInt64(3)
15677+ v15:CInt64 = IntAnd v13, v14
15678+ v16:CInt64[3] = GuardBitEquals v15, CInt64(3)
15679+ v17:BasicObject = InvokeBlockIfunc v13, v10
15680+ v21:Fixnum[2] = Const Value(2)
15681+ v23:CPtr = GetEP 0
15682+ v24:CInt64 = LoadField v23, :_env_data_index_specval@0x1000
15683+ v25:CInt64[3] = Const CInt64(3)
15684+ v26:CInt64 = IntAnd v24, v25
15685+ v27:CInt64[3] = GuardBitEquals v26, CInt64(3)
15686+ v28:BasicObject = InvokeBlockIfunc v24, v21
15687+ CheckInterrupts
15688+ Return v28
1566415689 ");
1566515690 }
1566615691
@@ -15727,10 +15752,6 @@ mod hir_opt_tests {
1572715752 v28:BasicObject = InvokeBlockIfunc v24, v21
1572815753 CheckInterrupts
1572915754 Return v28
15730-
15731-
15732-
15733- PatchPoint SingleRactorMode
1573415755 v35:HeapBasicObject = GuardType v6, HeapBasicObject
1573515756 v36:CShape = LoadField v35, :_shape_id@0x1000
1573615757 v37:CShape[0x1001] = GuardBitEquals v36, CShape(0x1001)
0 commit comments