hotspot/src/share/vm/c1/c1_LIRGenerator.cpp
changeset 11192 ff37c2093a0d
parent 10730 38dcf027574e
child 11430 718fc06da49a
--- a/hotspot/src/share/vm/c1/c1_LIRGenerator.cpp	Wed Nov 16 09:13:57 2011 -0800
+++ b/hotspot/src/share/vm/c1/c1_LIRGenerator.cpp	Wed Nov 16 19:42:58 2011 -0800
@@ -429,7 +429,7 @@
         // all locals are dead on exit from the synthetic unlocker
         liveness.clear();
       } else {
-        assert(x->as_MonitorEnter(), "only other case is MonitorEnter");
+        assert(x->as_MonitorEnter() || x->as_ProfileInvoke(), "only other cases are MonitorEnter and ProfileInvoke");
       }
     }
     if (!liveness.is_valid()) {