Skip to content

Commit 40bb539

Browse files
LuckyXu-HFrzikm
authored andcommitted
[LoongArch64] Fix build error for LA64. (dotnet#103792)
1 parent 4bda05f commit 40bb539

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coreclr/jit/targetloongarch64.cpp

Lines changed: 2 additions & 2 deletions
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)