mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
6965570: assert(!needs_patching && x->is_loaded(),"how do we know it's volatile if it's not loaded")
Reviewed-by: iveresov
This commit is contained in:
parent
8f5e126d82
commit
84ef74286f
5 changed files with 30 additions and 42 deletions
|
@ -141,7 +141,8 @@ class ValueNumberingVisitor: public InstructionVisitor {
|
|||
|
||||
// visitor functions
|
||||
void do_StoreField (StoreField* x) {
|
||||
if (!x->is_initialized()) {
|
||||
if (x->is_init_point()) {
|
||||
// putstatic is an initialization point so treat it as a wide kill
|
||||
kill_memory();
|
||||
} else {
|
||||
kill_field(x->field());
|
||||
|
@ -159,7 +160,8 @@ class ValueNumberingVisitor: public InstructionVisitor {
|
|||
void do_Local (Local* x) { /* nothing to do */ }
|
||||
void do_Constant (Constant* x) { /* nothing to do */ }
|
||||
void do_LoadField (LoadField* x) {
|
||||
if (!x->is_initialized()) {
|
||||
if (x->is_init_point()) {
|
||||
// getstatic is an initialization point so treat it as a wide kill
|
||||
kill_memory();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue