Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: src/liveedit-debugger.js

Issue 15012016: small misspelling fixes. (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/lithium-allocator.cc ('k') | src/mark-compact.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 } 214 }
215 215
216 for (var i = 0; i < replace_code_list.length; i++) { 216 for (var i = 0; i < replace_code_list.length; i++) {
217 PatchFunctionCode(replace_code_list[i], change_log); 217 PatchFunctionCode(replace_code_list[i], change_log);
218 } 218 }
219 219
220 var position_patch_report = new Array(); 220 var position_patch_report = new Array();
221 change_log.push( {position_patched: position_patch_report} ); 221 change_log.push( {position_patched: position_patch_report} );
222 222
223 for (var i = 0; i < update_positions_list.length; i++) { 223 for (var i = 0; i < update_positions_list.length; i++) {
224 // TODO(LiveEdit): take into account wether it's source_changed or 224 // TODO(LiveEdit): take into account whether it's source_changed or
225 // unchanged and whether positions changed at all. 225 // unchanged and whether positions changed at all.
226 PatchPositions(update_positions_list[i], diff_array, 226 PatchPositions(update_positions_list[i], diff_array,
227 position_patch_report); 227 position_patch_report);
228 228
229 if (update_positions_list[i].live_shared_function_infos) { 229 if (update_positions_list[i].live_shared_function_infos) {
230 update_positions_list[i].live_shared_function_infos. 230 update_positions_list[i].live_shared_function_infos.
231 forEach(function (info) { 231 forEach(function (info) {
232 %LiveEditFunctionSourceUpdated(info.raw_array); 232 %LiveEditFunctionSourceUpdated(info.raw_array);
233 }); 233 });
234 } 234 }
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 // Function is public. 1128 // Function is public.
1129 this.RestartFrame = RestartFrame; 1129 this.RestartFrame = RestartFrame;
1130 1130
1131 // Functions are public for tests. 1131 // Functions are public for tests.
1132 this.TestApi = { 1132 this.TestApi = {
1133 PosTranslator: PosTranslator, 1133 PosTranslator: PosTranslator,
1134 CompareStrings: CompareStrings, 1134 CompareStrings: CompareStrings,
1135 ApplySingleChunkPatch: ApplySingleChunkPatch 1135 ApplySingleChunkPatch: ApplySingleChunkPatch
1136 }; 1136 };
1137 }; 1137 };
OLDNEW
« no previous file with comments | « src/lithium-allocator.cc ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698