< prev index next >

src/hotspot/cpu/arm/c1_LIRGenerator_arm.cpp

Print this page
@@ -408,19 +408,18 @@
    LIRItem obj(x->obj(), this);
    obj.load_item();
    set_no_result(x);
  
    LIR_Opr lock = new_pointer_register();
-   LIR_Opr hdr  = new_pointer_register();
  
    CodeEmitInfo* info_for_exception = NULL;
    if (x->needs_null_check()) {
      info_for_exception = state_for(x);
    }
  
    CodeEmitInfo* info = state_for(x, x->state(), true);
-   monitor_enter(obj.result(), lock, hdr, LIR_OprFact::illegalOpr,
+   monitor_enter(obj.result(), lock, syncTempOpr(), new_register(T_INT), new_register(T_INT),
                  x->monitor_no(), info_for_exception, info);
  }
  
  
  void LIRGenerator::do_MonitorExit(MonitorExit* x) {
< prev index next >