Skip to content

Commit c8f5035

Browse files
Fix typo in cleanup for poisoning code
Causes nullptr AVs, RS5 only.
1 parent ba2e065 commit c8f5035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Backend/Lower.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17042,7 +17042,7 @@ Lowerer::GenerateFastElemIIntIndexCommon(
1704217042
if (baseValueType.IsLikelyTypedArray())
1704317043
{
1704417044
int lengthOffset;
17045-
lengthOffset = GetArrayOffsetOfHeadSegment(baseValueType);
17045+
lengthOffset = GetArrayOffsetOfLength(baseValueType);
1704617046
headSegmentLengthOpnd = IR::IndirOpnd::New(arrayOpnd, lengthOffset, TyUint32, m_func);
1704717047
autoReuseHeadSegmentLengthOpnd.Initialize(headSegmentLengthOpnd, m_func);
1704817048
}

0 commit comments

Comments
 (0)