hphp/runtime/vm/jit/tc-internal.h
TransLoc markEnd() {
    uint32_t* coldSize   = (uint32_t*)loc.coldStart();
    uint32_t* frozenSize = (uint32_t*)loc.frozenStart();
    *coldSize   = cache  .cold().frontier() - loc.coldStart();
    *frozenSize = cache.frozen().frontier() - loc.frozenStart();
    loc.setMainSize(cache.main().frontier() - loc.mainStart());

    return loc;
  }
/*
   * Record the end of a translation, storing the size of cold and frozen,
   * returns a TransLoc representing the translation.
   */
Record the end of a translation, storing the size of cold and frozen,
returns a TransLoc representing the translation.
Record the end of a translation storing the size of cold and frozen returns a TransLoc representing the translation .
TransLoc markEnd() {
    uint32_t* coldSize   = (uint32_t*)loc.coldStart();
    uint32_t* frozenSize = (uint32_t*)loc.frozenStart();
    *coldSize   = cache  .cold().frontier() - loc.coldStart();
    *frozenSize = cache.frozen().frontier() - loc.frozenStart();
    loc.setMainSize(cache.main().frontier() - loc.mainStart());
    return loc;
  }
TransLoc markEnd ( ) { uint32_t * coldSize = ( uint32_t * ) loc . coldStart ( ) ; uint32_t * frozenSize = ( uint32_t * ) loc . frozenStart ( ) ; * coldSize = cache . cold ( ) . frontier ( ) - loc . coldStart ( ) ; * frozenSize = cache . frozen ( ) . frontier ( ) - loc . frozenStart ( ) ; loc . setMainSize ( cache . main ( ) . frontier ( ) - loc . mainStart ( ) ) ; return loc ; }
Record the end of a translation, storing the size of cold and frozen,
 returns a TransLoc representing the translation.
Record the end of a translation storing the size of cold and frozen returns a TransLoc representing the translation .