OPT_IRTools.IC(VM_Entrypoints.processorCBSField.getOffset()),
OPT_IRTools.AC(VM_Entrypoints.processorCBSField.getOffset()),
  private final static void prependCounterReset(OPT_BasicBlock bb,                                       OPT_IR ir) {    OPT_Instruction load = null;    OPT_Instruction store = null;    if (ir.IRStage == ir.HIR) {      // Not tested      OPT_Operand offsetOp = new OPT_IntConstantOperand(VM_Entrypoints.cbsResetValueField.getOffset());      load = GetStatic.create(GETSTATIC,cbsReg.copyRO(),offsetOp,                              new OPT_LocationOperand(VM_Entrypoints.cbsResetValueField));      store = PutStatic.create(PUTSTATIC,cbsReg.copyRO(), new OPT_IntConstantOperand(VM_Entrypoints.globalCBSField.getOffset()),                              new OPT_LocationOperand(VM_Entrypoints.globalCBSField));      bb.prependInstruction(store);      bb.prependInstruction(load);    }    else {      // LIR      OPT_Instruction dummy = Load.create(INT_LOAD,null,null,null,null);      bb.prependInstruction(dummy);      // Load the reset value      load = Load.create(INT_LOAD, cbsReg.copyRO(),                          ir.regpool.makeJTOCOp(ir,dummy),                          OPT_IRTools.IC(VM_Entrypoints.cbsResetValueField.getOffset()),                         new OPT_LocationOperand(VM_Entrypoints.cbsResetValueField));            dummy.insertBefore(load);      // Store it in the counter register      if (ir.options.PROCESSOR_SPECIFIC_COUNTER) {        store = Store.create(INT_STORE,                              cbsReg.copyRO(),                             OPT_IRTools.A(ir.regpool.getPhysicalRegisterSet().getPR()),                             OPT_IRTools.IC(VM_Entrypoints.processorCBSField.getOffset()),                             new OPT_LocationOperand(VM_Entrypoints.processorCBSField));      }      else {        // Use global counter        store = Store.create(INT_STORE,                              cbsReg.copyRO(),                             ir.regpool.makeJTOCOp(ir,dummy),                              OPT_IRTools.IC(VM_Entrypoints.globalCBSField.getOffset()),                             new OPT_LocationOperand(VM_Entrypoints.globalCBSField));      }      dummy.insertBefore(store);      dummy.remove();    }  }