src/share/vm/c1/c1_LIRGenerator.cpp

changeset 3312
973293defacd
parent 3193
940513efe83a
child 3391
069ab3f976d3
equal deleted inserted replaced
3311:1bd45abaa507 3312:973293defacd
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");

mercurial