asm.emitMOV_Reg_RegIdx(scratch, EBX, idx, asm.WORD, Offset.fromIntZeroExtend(counterIdx<<2));
asm.emitMOV_Reg_RegIdx(scratch, EBX, idx, VM_Assembler.WORD, Offset.fromIntZeroExtend(counterIdx<<2));
  private final void incEdgeCounterIdx(byte scratch, byte idx, int counterIdx) {    if (VM.VerifyAssertions) VM._assert(((VM_BaselineCompiledMethod)compiledMethod).hasCounterArray());    asm.emitMOV_Reg_RegIdx(scratch, EBX, idx, asm.WORD, Offset.fromIntZeroExtend(counterIdx<<2));    asm.emitINC_Reg(scratch);    asm.emitAND_Reg_Imm(scratch, 0x7fffffff); // saturate at max int;    asm.emitMOV_RegIdx_Reg(EBX, idx, asm.WORD, Offset.fromIntSignExtend(counterIdx<<2), scratch);  }