equal
deleted
inserted
replaced
73 ValueStack* copy(Kind new_kind, int new_bci) { return new ValueStack(this, new_kind, new_bci); } |
73 ValueStack* copy(Kind new_kind, int new_bci) { return new ValueStack(this, new_kind, new_bci); } |
74 ValueStack* copy_for_parsing() { return new ValueStack(this, Parsing, -99); } |
74 ValueStack* copy_for_parsing() { return new ValueStack(this, Parsing, -99); } |
75 |
75 |
76 void set_caller_state(ValueStack* s) { |
76 void set_caller_state(ValueStack* s) { |
77 assert(kind() == EmptyExceptionState || |
77 assert(kind() == EmptyExceptionState || |
78 (Compilation::current()->env()->jvmti_can_access_local_variables() && kind() == ExceptionState), |
78 (Compilation::current()->env()->should_retain_local_variables() && kind() == ExceptionState), |
79 "only EmptyExceptionStates can be modified"); |
79 "only EmptyExceptionStates can be modified"); |
80 _caller_state = s; |
80 _caller_state = s; |
81 } |
81 } |
82 |
82 |
83 bool is_same(ValueStack* s); // returns true if this & s's types match (w/o checking locals) |
83 bool is_same(ValueStack* s); // returns true if this & s's types match (w/o checking locals) |