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

Side by Side Diff: src/liveedit.h

Issue 6577036: [Isolates] Merge from bleeding_edge to isolates, revisions 6100-6300. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 9 years, 10 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/liveedit.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 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 // A copy of this is in liveedit-debugger.js. 125 // A copy of this is in liveedit-debugger.js.
126 enum FunctionPatchabilityStatus { 126 enum FunctionPatchabilityStatus {
127 FUNCTION_AVAILABLE_FOR_PATCH = 1, 127 FUNCTION_AVAILABLE_FOR_PATCH = 1,
128 FUNCTION_BLOCKED_ON_ACTIVE_STACK = 2, 128 FUNCTION_BLOCKED_ON_ACTIVE_STACK = 2,
129 FUNCTION_BLOCKED_ON_OTHER_STACK = 3, 129 FUNCTION_BLOCKED_ON_OTHER_STACK = 3,
130 FUNCTION_BLOCKED_UNDER_NATIVE_CODE = 4, 130 FUNCTION_BLOCKED_UNDER_NATIVE_CODE = 4,
131 FUNCTION_REPLACED_ON_ACTIVE_STACK = 5 131 FUNCTION_REPLACED_ON_ACTIVE_STACK = 5
132 }; 132 };
133 133
134 // Compares 2 strings line-by-line and returns diff in form of array of 134 // Compares 2 strings line-by-line, then token-wise and returns diff in form
135 // triplets (pos1, pos1_end, pos2_end) describing list of diff chunks. 135 // of array of triplets (pos1, pos1_end, pos2_end) describing list
136 static Handle<JSArray> CompareStringsLinewise(Handle<String> s1, 136 // of diff chunks.
137 Handle<String> s2); 137 static Handle<JSArray> CompareStrings(Handle<String> s1,
138 Handle<String> s2);
138 }; 139 };
139 140
140 141
141 // A general-purpose comparator between 2 arrays. 142 // A general-purpose comparator between 2 arrays.
142 class Comparator { 143 class Comparator {
143 public: 144 public:
144 145
145 // Holds 2 arrays of some elements allowing to compare any pair of 146 // Holds 2 arrays of some elements allowing to compare any pair of
146 // element from the first array and element from the second array. 147 // element from the first array and element from the second array.
147 class Input { 148 class Input {
(...skipping 21 matching lines...) Expand all
169 static void CalculateDifference(Input* input, 170 static void CalculateDifference(Input* input,
170 Output* result_writer); 171 Output* result_writer);
171 }; 172 };
172 173
173 #endif // ENABLE_DEBUGGER_SUPPORT 174 #endif // ENABLE_DEBUGGER_SUPPORT
174 175
175 176
176 } } // namespace v8::internal 177 } } // namespace v8::internal
177 178
178 #endif /* V*_LIVEEDIT_H_ */ 179 #endif /* V*_LIVEEDIT_H_ */
OLDNEW
« no previous file with comments | « src/lithium-allocator.cc ('k') | src/liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698