Skip to content

Commit 2781608

Browse files
committed
1 parent f139911 commit 2781608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Backend/GlobOptBailOut.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ GlobOpt::MayNeedBailOnImplicitCall(IR::Instr const * instr, Value const * src1Va
13061306
return
13071307
!(
13081308
baseValueType.IsString() ||
1309-
(baseValueType.IsAnyArray() && baseValueType.GetObjectType() != ObjectType::ObjectWithArray) ||
1309+
baseValueType.IsArray() ||
13101310
(instr->HasBailOutInfo() && instr->GetBailOutKindNoBits() == IR::BailOutOnIrregularLength) // guarantees no implicit calls
13111311
);
13121312
}

0 commit comments

Comments
 (0)