equal
deleted
inserted
replaced
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 } |