Lines Matching refs:old_node
94 function HarvestTodo(old_node) { argument
111 if (old_node.status == FunctionStatus.DAMAGED) {
112 CollectDamaged(old_node);
115 if (old_node.status == FunctionStatus.UNCHANGED) {
116 update_positions_list.push(old_node);
117 } else if (old_node.status == FunctionStatus.SOURCE_CHANGED) {
118 update_positions_list.push(old_node);
119 } else if (old_node.status == FunctionStatus.CHANGED) {
120 replace_code_list.push(old_node);
121 CollectNew(old_node.unmatched_new_nodes);
123 for (var i = 0; i < old_node.children.length; i++) {
124 HarvestTodo(old_node.children[i]);
314 function PatchFunctionCode(old_node, change_log) { argument
315 var new_info = old_node.corresponding_node.info;
316 if (old_node.live_shared_function_infos) {
317 old_node.live_shared_function_infos.forEach(function (old_info) {
327 for (var i = 0; i < old_node.children.length; i++) {
328 if (old_node.children[i].corresponding_node) {
330 old_node.children[i].corresponding_node.info.
333 if (old_node.children[i].live_shared_function_infos) {
334 old_node.children[i].live_shared_function_infos.
697 function ProcessNode(old_node, new_node) { argument
699 IsFunctionContextLocalsChanged(old_node.info, new_node.info);
701 old_node.status = FunctionStatus.CHANGED;
704 var old_children = old_node.children;
743 old_node.status = FunctionStatus.CHANGED;
750 old_node.status = FunctionStatus.CHANGED;
760 old_node.status = FunctionStatus.CHANGED;
767 old_node.status = FunctionStatus.CHANGED;
778 if (old_node.status == FunctionStatus.CHANGED) {
779 if (old_node.info.param_num != new_node.info.param_num) {
780 old_node.status = FunctionStatus.DAMAGED;
781 old_node.status_explanation = "Changed parameter number: " +
782 old_node.info.param_num + " and " + new_node.info.param_num;
785 old_node.unmatched_new_nodes = unmatched_new_nodes_list;
786 old_node.textually_unmatched_new_nodes =