hotspot/src/share/vm/c1/c1_ValueStack.hpp
changeset 22893 e3a2b513713a
parent 13963 e5b53c306fb5
child 36817 57ce0a76b6b0
equal deleted inserted replaced
22892:1709e0e0b87c 22893:e3a2b513713a
    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)