-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix fast ArrayStoreCHK test on Power under AOT
When evaluating an ArrayStoreCHK node, we add a test to see if the array being stored into is an Object[]. When storing to an Object[], there's no need to check the element's class, as all objects can be stored in an Object[]. However, the address for the Object class was being loaded without adding any relocations under AOT, which could cause incorrect behaviour. This has been fixed under SVM AOT, while the fast path is no longer generated under old AOT. Signed-off-by: Ben Thomas <[email protected]>
- Loading branch information
1 parent
9c00b45
commit 073137d
Showing
1 changed file
with
26 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters