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

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

Issue 3131008: LiveEdit: reflect scope_info moving out of Code (Closed)
Patch Set: format Created 10 years, 4 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
« no previous file with comments | « src/liveedit.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 782 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 793
794 794
795 // An object describing function compilation details. Its index fields 795 // An object describing function compilation details. Its index fields
796 // apply to indexes inside array that stores these objects. 796 // apply to indexes inside array that stores these objects.
797 function FunctionCompileInfo(raw_array) { 797 function FunctionCompileInfo(raw_array) {
798 this.function_name = raw_array[0]; 798 this.function_name = raw_array[0];
799 this.start_position = raw_array[1]; 799 this.start_position = raw_array[1];
800 this.end_position = raw_array[2]; 800 this.end_position = raw_array[2];
801 this.param_num = raw_array[3]; 801 this.param_num = raw_array[3];
802 this.code = raw_array[4]; 802 this.code = raw_array[4];
803 this.scope_info = raw_array[5]; 803 this.code_scope_info = raw_array[5];
804 this.outer_index = raw_array[6]; 804 this.scope_info = raw_array[6];
805 this.shared_function_info = raw_array[7]; 805 this.outer_index = raw_array[7];
806 this.shared_function_info = raw_array[8];
806 this.next_sibling_index = null; 807 this.next_sibling_index = null;
807 this.raw_array = raw_array; 808 this.raw_array = raw_array;
808 } 809 }
809 810
810 function SharedInfoWrapper(raw_array) { 811 function SharedInfoWrapper(raw_array) {
811 this.function_name = raw_array[0]; 812 this.function_name = raw_array[0];
812 this.start_position = raw_array[1]; 813 this.start_position = raw_array[1];
813 this.end_position = raw_array[2]; 814 this.end_position = raw_array[2];
814 this.info = raw_array[3]; 815 this.info = raw_array[3];
815 this.raw_array = raw_array; 816 this.raw_array = raw_array;
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 } 1049 }
1049 1050
1050 1051
1051 // Functions are public for tests. 1052 // Functions are public for tests.
1052 this.TestApi = { 1053 this.TestApi = {
1053 PosTranslator: PosTranslator, 1054 PosTranslator: PosTranslator,
1054 CompareStringsLinewise: CompareStringsLinewise, 1055 CompareStringsLinewise: CompareStringsLinewise,
1055 ApplySingleChunkPatch: ApplySingleChunkPatch 1056 ApplySingleChunkPatch: ApplySingleChunkPatch
1056 } 1057 }
1057 } 1058 }
OLDNEW
« no previous file with comments | « src/liveedit.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698