deps/v8/src/debug/liveedit.js
function LinkToOldScript(old_info_node, old_script, report_array) {
    if (old_info_node.live_shared_function_infos) {
      old_info_node.live_shared_function_infos.
          forEach(function (info) {
            %LiveEditFunctionSetScript(info.info, old_script);
          });

      report_array.push( { name: old_info_node.info.function_name } );
    } else {
      report_array.push(
          { name: old_info_node.info.function_name, not_found: true } );
    }
  }
function LinkToOldScript(old_info_node, old_script, report_array) {
    if (old_info_node.live_shared_function_infos) {
      old_info_node.live_shared_function_infos.
          forEach(function (info) {
            %LiveEditFunctionSetScript(info.info, old_script);
          });

      report_array.push( { name: old_info_node.info.function_name } );
    } else {
      report_array.push(
          { name: old_info_node.info.function_name, not_found: true } );
    }
  }
function LinkToOldScript ( old_info_node , old_script , report_array ) { if ( old_info_node . live_shared_function_infos ) { old_info_node . live_shared_function_infos . forEach ( function ( info ) { % LiveEditFunctionSetScript ( info . info , old_script ) ; } ) ; report_array . push ( { name : old_info_node . info . function_name } ) ; } else { report_array . push ( { name : old_info_node . info . function_name , not_found : true } ) ; } }
Makes a function associated with another instance of a script (the one representing its old version). This way the function still may access its own text.
Makes a function associated with another instance of a script ( the one representing its old version ) . This way the function still may access its own text .