private static void ensureCorrectMapConstruction(MachineCodeOffsets mcOffsets,Instruction instr){
  if (mcOffsets.lacksMachineCodeOffset(instr)) {
    if (instr.getOpcode() == IR_PROLOGUE_opcode) {
      mcOffsets.fabricateMachineCodeOffsetForPrologueInstruction(instr);
    }
 else {
      throw new OptimizingCompilerException("Found instruction without valid machine code offset during " + "generation of machine code information: " + instr);
    }
  }
}

private static void ensureCorrectMapConstruction ( MachineCodeOffsets mcOffsets , Instruction instr ) { if ( mcOffsets . lacksMachineCodeOffset ( instr ) ) { if ( instr . getOpcode ( ) == IR_PROLOGUE_opcode ) { mcOffsets . fabricateMachineCodeOffsetForPrologueInstruction ( instr ) ; } else { throw new OptimizingCompilerException ( "Found instruction without valid machine code offset during " + "generation of machine code information: " + instr ) ; } } }
ensures correct map construction by either correcting oddities or failing immediately in case of errors .
