Skip to content

Commit

Permalink
[LoongArch64] Fix the assertion error for DynamicHelpers::CreateDicti…
Browse files Browse the repository at this point in the history
…onaryLookupHelper(). (#98741)

* [LoongArch64] Fix the assert error for DynamicHelpers::CreateDictionaryLookupHelper().

* Update src/coreclr/vm/loongarch64/stubs.cpp

Co-authored-by: Jan Kotas <jkotas@microsoft.com>

---------

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
  • Loading branch information
LuckyXu-HF and jkotas authored Feb 27, 2024
1 parent 9d9b250 commit 970c7b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/vm/loongarch64/stubs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,7 @@ PCODE DynamicHelpers::CreateDictionaryLookupHelper(LoaderAllocator * pAllocator,
}
}

_ASSERTE(indirectionsDataSize == dataOffset);
_ASSERTE((indirectionsDataSize ? indirectionsDataSize : codeSize) == dataOffset);

// No null test required
if (!pLookup->testForNull)
Expand Down

0 comments on commit 970c7b2

Please sign in to comment.