Mercurial > hg > truffle
diff src/share/vm/c1/c1_ValueStack.hpp @ 14477:96d2c94bbdd0
8035493: JVMTI PopFrame capability must instruct compilers not to prune locals
Reviewed-by: kvn, sla, coleenp, sspitsyn
author | mgronlun |
---|---|
date | Sat, 22 Feb 2014 10:22:05 +0100 |
parents | b9a9ed0f8eeb |
children | 4ca6dc0799b6 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_ValueStack.hpp Thu Feb 20 16:38:45 2014 -0500 +++ b/src/share/vm/c1/c1_ValueStack.hpp Sat Feb 22 10:22:05 2014 +0100 @@ -75,7 +75,7 @@ void set_caller_state(ValueStack* s) { assert(kind() == EmptyExceptionState || - (Compilation::current()->env()->jvmti_can_access_local_variables() && kind() == ExceptionState), + (Compilation::current()->env()->should_retain_local_variables() && kind() == ExceptionState), "only EmptyExceptionStates can be modified"); _caller_state = s; }