hotspot/src/share/vm/c1/c1_Instruction.cpp
changeset 22893 e3a2b513713a
parent 22234 da823d78ad65
child 38031 e0b822facc03
equal deleted inserted replaced
22892:1709e0e0b87c 22893:e3a2b513713a
    74   return eql;
    74   return eql;
    75 }
    75 }
    76 
    76 
    77 void Instruction::update_exception_state(ValueStack* state) {
    77 void Instruction::update_exception_state(ValueStack* state) {
    78   if (state != NULL && (state->kind() == ValueStack::EmptyExceptionState || state->kind() == ValueStack::ExceptionState)) {
    78   if (state != NULL && (state->kind() == ValueStack::EmptyExceptionState || state->kind() == ValueStack::ExceptionState)) {
    79     assert(state->kind() == ValueStack::EmptyExceptionState || Compilation::current()->env()->jvmti_can_access_local_variables(), "unexpected state kind");
    79     assert(state->kind() == ValueStack::EmptyExceptionState || Compilation::current()->env()->should_retain_local_variables(), "unexpected state kind");
    80     _exception_state = state;
    80     _exception_state = state;
    81   } else {
    81   } else {
    82     _exception_state = NULL;
    82     _exception_state = NULL;
    83   }
    83   }
    84 }
    84 }