Mercurial > hg > graal-compiler
comparison src/share/vm/c1/c1_ValueStack.hpp @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | 96d2c94bbdd0 |
children |
comparison
equal
deleted
inserted
replaced
14908:8db6e76cb658 | 14909:4ca6dc0799b6 |
---|---|
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()->should_retain_local_variables() && kind() == ExceptionState), | 78 (Compilation::current()->env()->jvmti_can_access_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) |