< prev index next >

src/share/vm/c1/c1_ValueStack.hpp

Print this page
rev 10446 : 8151818: C1: LIRGenerator::move_to_phi can't deal with illegal phi
Reviewed-by:

*** 97,114 **** // locals access void clear_locals(); // sets all locals to NULL; void invalidate_local(int i) { ! assert(_locals.at(i)->type()->is_single_word() || _locals.at(i + 1) == NULL, "hi-word of doubleword value must be NULL"); _locals.at_put(i, NULL); } Value local_at(int i) const { Value x = _locals.at(i); ! assert(x == NULL || x->type()->is_single_word() || _locals.at(i + 1) == NULL, "hi-word of doubleword value must be NULL"); return x; } void store_local(int i, Value x) { --- 97,114 ---- // locals access void clear_locals(); // sets all locals to NULL; void invalidate_local(int i) { ! assert(!_locals.at(i)->type()->is_double_word() || _locals.at(i + 1) == NULL, "hi-word of doubleword value must be NULL"); _locals.at_put(i, NULL); } Value local_at(int i) const { Value x = _locals.at(i); ! assert(x == NULL || !x->type()->is_double_word() || _locals.at(i + 1) == NULL, "hi-word of doubleword value must be NULL"); return x; } void store_local(int i, Value x) {
*** 129,139 **** } // stack access Value stack_at(int i) const { Value x = _stack.at(i); ! assert(x->type()->is_single_word() || _stack.at(i + 1) == NULL, "hi-word of doubleword value must be NULL"); return x; } Value stack_at_inc(int& i) const { --- 129,139 ---- } // stack access Value stack_at(int i) const { Value x = _stack.at(i); ! assert(!x->type()->is_double_word() || _stack.at(i + 1) == NULL, "hi-word of doubleword value must be NULL"); return x; } Value stack_at_inc(int& i) const {
< prev index next >