int tibOffset = klass.getTibOffset().toInt(); asm.emitMOV_Reg_RegDisp (T0, JTOC, tibOffset);
asm.emitMOV_Reg_RegDisp (T0, JTOC, klass.getTibOffset());
  private final void genMonitorEnter () {    if (method.isStatic()) {      if (VM.writingBootImage) {        VM.deferClassObjectCreation(klass);      } else {        klass.getClassForType();      }      int tibOffset = klass.getTibOffset().toInt();      asm.emitMOV_Reg_RegDisp (T0, JTOC, tibOffset);               // T0 = tib for klass      asm.emitMOV_Reg_RegInd (T0, T0);                             // T0 = VM_Class for klass      asm.emitPUSH_RegDisp(T0, VM_Entrypoints.classForTypeField.getOffsetAsInt()); // push java.lang.Class object for klass    } else {      asm.emitPUSH_RegDisp(ESP, localOffset(0));                           // push "this" object    }    genParameterRegisterLoad(1);                                   // pass 1 parameter    asm.emitCALL_RegDisp(JTOC, VM_Entrypoints.lockMethod.getOffsetAsInt());      lockOffset = asm.getMachineCodeIndex();                       // after this instruction, the method has the monitor  }