hotspot/src/share/vm/c1/c1_LIRGenerator.cpp
changeset 11192 ff37c2093a0d
parent 10730 38dcf027574e
child 11430 718fc06da49a
equal deleted inserted replaced
11191:d54ab5dcba83 11192:ff37c2093a0d
   427     if (bci == SynchronizationEntryBCI) {
   427     if (bci == SynchronizationEntryBCI) {
   428       if (x->as_ExceptionObject() || x->as_Throw()) {
   428       if (x->as_ExceptionObject() || x->as_Throw()) {
   429         // all locals are dead on exit from the synthetic unlocker
   429         // all locals are dead on exit from the synthetic unlocker
   430         liveness.clear();
   430         liveness.clear();
   431       } else {
   431       } else {
   432         assert(x->as_MonitorEnter(), "only other case is MonitorEnter");
   432         assert(x->as_MonitorEnter() || x->as_ProfileInvoke(), "only other cases are MonitorEnter and ProfileInvoke");
   433       }
   433       }
   434     }
   434     }
   435     if (!liveness.is_valid()) {
   435     if (!liveness.is_valid()) {
   436       // Degenerate or breakpointed method.
   436       // Degenerate or breakpointed method.
   437       bailout("Degenerate or breakpointed method");
   437       bailout("Degenerate or breakpointed method");