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

Side by Side Diff: src/runtime.h

Issue 4135004: Separate JSON parsing from the JavaScript parser. (Closed)
Patch Set: Rename GetSymbol. Move ZoneScope. Created 10 years, 1 month 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/parser.cc ('k') | src/runtime.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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 F(Math_tan, 1, 1) \ 157 F(Math_tan, 1, 1) \
158 \ 158 \
159 /* Regular expressions */ \ 159 /* Regular expressions */ \
160 F(RegExpCompile, 3, 1) \ 160 F(RegExpCompile, 3, 1) \
161 F(RegExpExec, 4, 1) \ 161 F(RegExpExec, 4, 1) \
162 F(RegExpExecMultiple, 4, 1) \ 162 F(RegExpExecMultiple, 4, 1) \
163 F(RegExpInitializeObject, 5, 1) \ 163 F(RegExpInitializeObject, 5, 1) \
164 F(RegExpConstructResult, 3, 1) \ 164 F(RegExpConstructResult, 3, 1) \
165 F(RegExpCloneResult, 1, 1) \ 165 F(RegExpCloneResult, 1, 1) \
166 \ 166 \
167 /* JSON */ \
168 F(ParseJson, 1, 1) \
169 \
167 /* Strings */ \ 170 /* Strings */ \
168 F(StringCharCodeAt, 2, 1) \ 171 F(StringCharCodeAt, 2, 1) \
169 F(StringIndexOf, 3, 1) \ 172 F(StringIndexOf, 3, 1) \
170 F(StringLastIndexOf, 3, 1) \ 173 F(StringLastIndexOf, 3, 1) \
171 F(StringLocaleCompare, 2, 1) \ 174 F(StringLocaleCompare, 2, 1) \
172 F(SubString, 3, 1) \ 175 F(SubString, 3, 1) \
173 F(StringReplaceRegExpWithString, 4, 1) \ 176 F(StringReplaceRegExpWithString, 4, 1) \
174 F(StringMatch, 3, 1) \ 177 F(StringMatch, 3, 1) \
175 F(StringTrim, 3, 1) \ 178 F(StringTrim, 3, 1) \
176 F(StringToArray, 1, 1) \ 179 F(StringToArray, 1, 1) \
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 F(DateParseString, 2, 1) \ 218 F(DateParseString, 2, 1) \
216 F(DateLocalTimezone, 1, 1) \ 219 F(DateLocalTimezone, 1, 1) \
217 F(DateLocalTimeOffset, 0, 1) \ 220 F(DateLocalTimeOffset, 0, 1) \
218 F(DateDaylightSavingsOffset, 1, 1) \ 221 F(DateDaylightSavingsOffset, 1, 1) \
219 F(DateMakeDay, 3, 1) \ 222 F(DateMakeDay, 3, 1) \
220 F(DateYMDFromTime, 2, 1) \ 223 F(DateYMDFromTime, 2, 1) \
221 \ 224 \
222 /* Numbers */ \ 225 /* Numbers */ \
223 \ 226 \
224 /* Globals */ \ 227 /* Globals */ \
225 F(CompileString, 2, 1) \ 228 F(CompileString, 1, 1) \
226 F(GlobalPrint, 1, 1) \ 229 F(GlobalPrint, 1, 1) \
227 \ 230 \
228 /* Eval */ \ 231 /* Eval */ \
229 F(GlobalReceiver, 1, 1) \ 232 F(GlobalReceiver, 1, 1) \
230 F(ResolvePossiblyDirectEval, 3, 2) \ 233 F(ResolvePossiblyDirectEval, 3, 2) \
231 F(ResolvePossiblyDirectEvalNoLookup, 3, 2) \ 234 F(ResolvePossiblyDirectEvalNoLookup, 3, 2) \
232 \ 235 \
233 F(SetProperty, -1 /* 3 or 4 */, 1) \ 236 F(SetProperty, -1 /* 3 or 4 */, 1) \
234 F(DefineOrRedefineDataProperty, 4, 1) \ 237 F(DefineOrRedefineDataProperty, 4, 1) \
235 F(DefineOrRedefineAccessorProperty, 5, 1) \ 238 F(DefineOrRedefineAccessorProperty, 5, 1) \
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 int position); 532 int position);
530 533
531 // Helper functions used stubs. 534 // Helper functions used stubs.
532 static void PerformGC(Object* result); 535 static void PerformGC(Object* result);
533 }; 536 };
534 537
535 538
536 } } // namespace v8::internal 539 } } // namespace v8::internal
537 540
538 #endif // V8_RUNTIME_H_ 541 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/parser.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698