comparison src/share/vm/c1/c1_ValueStack.hpp @ 14518:d8041d695d19

Merged with jdk9/dev/hotspot changeset 3812c088b945
author twisti
date Tue, 11 Mar 2014 18:45:59 -0700
parents 96d2c94bbdd0
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14141:f97c5ec83832 14518:d8041d695d19
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)