< prev index next >

src/hotspot/cpu/ppc/c1_LIRGenerator_ppc.cpp

Print this page
@@ -344,11 +344,11 @@
    }
  
    // This CodeEmitInfo must not have the xhandlers because here the
    // object is already locked (xhandlers expects object to be unlocked).
    CodeEmitInfo* info = state_for(x, x->state(), true);
-   monitor_enter(obj.result(), lock, hdr, scratch, x->monitor_no(), info_for_exception, info);
+   monitor_enter(obj.result(), lock, hdr, scratch, new_register(T_INT), x->monitor_no(), info_for_exception, info);
  }
  
  
  void LIRGenerator::do_MonitorExit(MonitorExit* x) {
    assert(x->is_pinned(),"");
< prev index next >