private void adjustBCIndex(Instruction barrier){
  NormalMethod source=barrier.position().method;
  if (source.isForOsrSpecialization()) {
    barrier.adjustBytecodeIndex(-source.getOsrPrologueLength());
  }
}

private void adjustBCIndex ( Instruction barrier ) { NormalMethod source = barrier . position ( ) . method ; if ( source . isForOsrSpecialization ( ) ) { barrier . adjustBytecodeIndex ( - source . getOsrPrologueLength ( ) ) ; } }
the osrbarrier instruction is not in ir , so the bc index was not adjusted in osr_adjustbcindex .
