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:
Tom Rodriguez 2011-03-06 22:09:23 -08:00
parent 8f5e126d82
commit 84ef74286f
5 changed files with 30 additions and 42 deletions

View file

@ -209,7 +209,7 @@ void Canonicalizer::do_StoreField (StoreField* x) {
// limit this optimization to current block
if (value != NULL && in_current_block(conv)) {
set_canonical(new StoreField(x->obj(), x->offset(), x->field(), value, x->is_static(),
x->state_before(), x->is_loaded(), x->is_initialized()));
x->state_before(), x->needs_patching()));
return;
}
}