Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix R2R failure in one of ObjectStackAllocation tests.
AllocateSimpleClassAndCheckTypeNoHelper fails because the object is allocated on the heap in R2R mode. The reason for that is that we always use a helper for isinst in R2R mode and helper calls cause us to assume the object escapes. We don't have to use a helper in this case (even for R2R), #22086 tracks fixing that. For now the fix is not to check that the object was allocated on the stack in this test case. Fixes #22026.
- Loading branch information