Skip to content

Commit 7c4b4bb

Browse files
authored
[LoongArch64] Fix build error for LA64. (#103792)
1 parent bc73ae5 commit 7c4b4bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coreclr/jit/targetloongarch64.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ ABIPassingInformation LoongArch64Classifier::Classify(Compiler* comp,
179179
RegisterQueue* regs = varTypeIsFloating(argRegTypeInStruct1) ? &m_floatRegs : &m_intRegs;
180180
assert(regs->Count() > 0);
181181

182-
passedSize = genTypeSize(argRegTypeInStruct1);
183-
info.Segments(0) = ABIPassingSegment::InRegister(regs->Dequeue(), 0, passedSize);
182+
passedSize = genTypeSize(argRegTypeInStruct1);
183+
info.Segment(0) = ABIPassingSegment::InRegister(regs->Dequeue(), 0, passedSize);
184184

185185
if (argRegTypeInStruct2 != TYP_UNKNOWN)
186186
{

0 commit comments

Comments
 (0)