@@ -2263,12 +2263,10 @@ pub mod hir_build_tests {
22632263 PatchPoint BOPRedefined(ARRAY_REDEFINED_OP_FLAG, BOP_HASH)
22642264 v33:Fixnum = ArrayHash v15, v16
22652265 v35:CPtr = GetEP 0
2266- v37:CInt64 = LoadField v35, :_env_data_index_flags@0x1000
2267- v38:CInt64 = GuardNoBitsSet v37, CUInt64(8)
22682266 PatchPoint NoEPEscape(test)
2269- v43 :ArrayExact[VALUE(0x1008 )] = Const Value(VALUE(0x1008 ))
2270- v44 :ArrayExact = ArrayDup v43
2271- v46 :BasicObject = SendWithoutBlock v14, :puts, v44 # SendFallbackReason: Uncategorized(opt_send_without_block)
2267+ v40 :ArrayExact[VALUE(0x1000 )] = Const Value(VALUE(0x1000 ))
2268+ v41 :ArrayExact = ArrayDup v40
2269+ v43 :BasicObject = SendWithoutBlock v14, :puts, v41 # SendFallbackReason: Uncategorized(opt_send_without_block)
22722270 PatchPoint NoEPEscape(test)
22732271 CheckInterrupts
22742272 Return v33
@@ -2462,12 +2460,10 @@ pub mod hir_build_tests {
24622460 PatchPoint BOPRedefined(ARRAY_REDEFINED_OP_FLAG, BOP_INCLUDE_P)
24632461 v34:BoolExact = ArrayInclude v15, v16 | v16
24642462 v36:CPtr = GetEP 0
2465- v38:CInt64 = LoadField v36, :_env_data_index_flags@0x1000
2466- v39:CInt64 = GuardNoBitsSet v38, CUInt64(8)
24672463 PatchPoint NoEPEscape(test)
2468- v44 :ArrayExact[VALUE(0x1008 )] = Const Value(VALUE(0x1008 ))
2469- v45 :ArrayExact = ArrayDup v44
2470- v47 :BasicObject = SendWithoutBlock v14, :puts, v45 # SendFallbackReason: Uncategorized(opt_send_without_block)
2464+ v41 :ArrayExact[VALUE(0x1000 )] = Const Value(VALUE(0x1000 ))
2465+ v42 :ArrayExact = ArrayDup v41
2466+ v44 :BasicObject = SendWithoutBlock v14, :puts, v42 # SendFallbackReason: Uncategorized(opt_send_without_block)
24712467 PatchPoint NoEPEscape(test)
24722468 CheckInterrupts
24732469 Return v34
@@ -3223,14 +3219,12 @@ pub mod hir_build_tests {
32233219 PatchPoint SingleRactorMode
32243220 v26:BasicObject = GetIvar v12, :@c
32253221 v29:CPtr = GetEP 0
3226- v31:CInt64 = LoadField v29, :_env_data_index_flags@0x1000
3227- v32:CInt64 = GuardNoBitsSet v31, CUInt64(8)
32283222 PatchPoint NoEPEscape(reverse_odd)
3229- v35 :CPtr = GetEP 0
3230- v37 :CPtr = GetEP 0
3231- v43 :ArrayExact = NewArray v20, v23, v26
3223+ v32 :CPtr = GetEP 0
3224+ v34 :CPtr = GetEP 0
3225+ v40 :ArrayExact = NewArray v20, v23, v26
32323226 CheckInterrupts
3233- Return v43
3227+ Return v40
32343228
32353229 fn reverse_even@<compiled>:8:
32363230 bb0():
@@ -3258,15 +3252,13 @@ pub mod hir_build_tests {
32583252 PatchPoint SingleRactorMode
32593253 v32:BasicObject = GetIvar v14, :@d
32603254 v35:CPtr = GetEP 0
3261- v37:CInt64 = LoadField v35, :_env_data_index_flags@0x1000
3262- v38:CInt64 = GuardNoBitsSet v37, CUInt64(8)
32633255 PatchPoint NoEPEscape(reverse_even)
3264- v41 :CPtr = GetEP 0
3265- v43 :CPtr = GetEP 0
3266- v45 :CPtr = GetEP 0
3267- v52 :ArrayExact = NewArray v23, v26, v29, v32
3256+ v38 :CPtr = GetEP 0
3257+ v40 :CPtr = GetEP 0
3258+ v42 :CPtr = GetEP 0
3259+ v49 :ArrayExact = NewArray v23, v26, v29, v32
32683260 CheckInterrupts
3269- Return v52
3261+ Return v49
32703262 " ) ;
32713263 }
32723264
@@ -3480,27 +3472,25 @@ pub mod hir_build_tests {
34803472 bb2(v16:BasicObject, v17:BasicObject, v18:BasicObject, v19:BasicObject, v20:BasicObject, v21:NilClass):
34813473 v25:BasicObject = InvokeBuiltin dir_s_open, v16, v17, v18
34823474 v27:CPtr = GetEP 0
3483- v29:CInt64 = LoadField v27, :_env_data_index_flags@0x1000
3484- v30:CInt64 = GuardNoBitsSet v29, CUInt64(8)
34853475 PatchPoint NoEPEscape(open)
3486- v34 :CPtr = GetEP 0
3487- v35 :CInt64 = LoadField v34 , :_env_data_index_flags@0x1000
3488- v36 :CInt64 = GuardNoBitsSet v35 , CUInt64(512)
3489- v37 :CInt64 = LoadField v34 , :_env_data_index_specval@0x1001
3490- v38 :CInt64 = GuardAnyBitSet v37 , CUInt64(1)
3491- v39 :HeapObject[BlockParamProxy] = Const Value(VALUE(0x1008))
3492- CheckInterrupts
3493- v42 :CBool[true] = Test v39
3494- v43 = RefineType v39 , Falsy
3495- IfFalse v42 , bb3(v16, v17, v18, v19, v20, v25)
3496- v45 :HeapObject[BlockParamProxy] = RefineType v39 , Truthy
3497- v49 :BasicObject = InvokeBlock, v25 # SendFallbackReason: Uncategorized(invokeblock)
3498- v52 :BasicObject = InvokeBuiltin dir_s_close, v16, v25
3476+ v31 :CPtr = GetEP 0
3477+ v32 :CInt64 = LoadField v31 , :_env_data_index_flags@0x1000
3478+ v33 :CInt64 = GuardNoBitsSet v32 , CUInt64(512)
3479+ v34 :CInt64 = LoadField v31 , :_env_data_index_specval@0x1001
3480+ v35 :CInt64 = GuardAnyBitSet v34 , CUInt64(1)
3481+ v36 :HeapObject[BlockParamProxy] = Const Value(VALUE(0x1008))
3482+ CheckInterrupts
3483+ v39 :CBool[true] = Test v36
3484+ v40 = RefineType v36 , Falsy
3485+ IfFalse v39 , bb3(v16, v17, v18, v19, v20, v25)
3486+ v42 :HeapObject[BlockParamProxy] = RefineType v36 , Truthy
3487+ v46 :BasicObject = InvokeBlock, v25 # SendFallbackReason: Uncategorized(invokeblock)
3488+ v49 :BasicObject = InvokeBuiltin dir_s_close, v16, v25
34993489 CheckInterrupts
3500- Return v49
3501- bb3(v58, v59, v60, v61, v62, v63 ):
3490+ Return v46
3491+ bb3(v55, v56, v57, v58, v59, v60 ):
35023492 CheckInterrupts
3503- Return v63
3493+ Return v60
35043494 " ) ;
35053495 }
35063496
@@ -3890,10 +3880,8 @@ pub mod hir_build_tests {
38903880 v26:CInt64[0] = Const CInt64(0)
38913881 v27:BasicObject = ArrayAref v21, v26
38923882 v29:CPtr = GetEP 0
3893- v31:CInt64 = LoadField v29, :_env_data_index_flags@0x1000
3894- v32:CInt64 = GuardNoBitsSet v31, CUInt64(8)
38953883 PatchPoint NoEPEscape(test)
3896- v35 :CPtr = GetEP 0
3884+ v32 :CPtr = GetEP 0
38973885 CheckInterrupts
38983886 Return v13
38993887 " ) ;
0 commit comments