public static Instruction _osrHelper(Instruction barrier,GenerationContext gc){
  Instruction inst=OsrPoint.create(YIELDPOINT_OSR,null,0);
  gc.saveOSRBarrierForInst(barrier,inst);
  return inst;
}

public static Instruction _osrHelper ( Instruction barrier , GenerationContext gc ) { Instruction inst = OsrPoint . create ( YIELDPOINT_OSR , null , 0 ) ; gc . saveOSRBarrierForInst ( barrier , inst ) ; return inst ; }
creates an osr point instruction with its dependent osrbarrier which provides type and variable information . the osrpoint instruction is going to be refilled immediately after bc2ir , before any other optimizations .
