hotspot/src/share/vm/c1/c1_ValueStack.hpp
changeset 22893 e3a2b513713a
parent 13963 e5b53c306fb5
child 36817 57ce0a76b6b0
--- a/hotspot/src/share/vm/c1/c1_ValueStack.hpp	Thu Feb 20 16:38:45 2014 -0500
+++ b/hotspot/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;
   }