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

Side by Side Diff: src/runtime/runtime.h

Issue 2577063002: Reland of "Store SharedFunctionInfos of a Script in a FixedArray indexed by their ID" (Closed)
Patch Set: fix Created 4 years 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/parsing/parser.cc ('k') | src/runtime/runtime-function.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 F(ThrowUndefinedOrNullToObject, 1, 1) \ 339 F(ThrowUndefinedOrNullToObject, 1, 1) \
340 F(Typeof, 1, 1) \ 340 F(Typeof, 1, 1) \
341 F(UnwindAndFindExceptionHandler, 0, 1) 341 F(UnwindAndFindExceptionHandler, 0, 1)
342 342
343 #define FOR_EACH_INTRINSIC_LITERALS(F) \ 343 #define FOR_EACH_INTRINSIC_LITERALS(F) \
344 F(CreateRegExpLiteral, 4, 1) \ 344 F(CreateRegExpLiteral, 4, 1) \
345 F(CreateObjectLiteral, 4, 1) \ 345 F(CreateObjectLiteral, 4, 1) \
346 F(CreateArrayLiteral, 4, 1) \ 346 F(CreateArrayLiteral, 4, 1) \
347 F(CreateArrayLiteralStubBailout, 3, 1) 347 F(CreateArrayLiteralStubBailout, 3, 1)
348 348
349
350 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ 349 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \
351 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ 350 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \
352 F(LiveEditGatherCompileInfo, 2, 1) \ 351 F(LiveEditGatherCompileInfo, 2, 1) \
353 F(LiveEditReplaceScript, 3, 1) \ 352 F(LiveEditReplaceScript, 3, 1) \
354 F(LiveEditFunctionSourceUpdated, 1, 1) \ 353 F(LiveEditFunctionSourceUpdated, 2, 1) \
355 F(LiveEditReplaceFunctionCode, 2, 1) \ 354 F(LiveEditReplaceFunctionCode, 2, 1) \
355 F(LiveEditFixupScript, 2, 1) \
356 F(LiveEditFunctionSetScript, 2, 1) \ 356 F(LiveEditFunctionSetScript, 2, 1) \
357 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ 357 F(LiveEditReplaceRefToNestedFunction, 3, 1) \
358 F(LiveEditPatchFunctionPositions, 2, 1) \ 358 F(LiveEditPatchFunctionPositions, 2, 1) \
359 F(LiveEditCheckAndDropActivations, 3, 1) \ 359 F(LiveEditCheckAndDropActivations, 3, 1) \
360 F(LiveEditCompareStrings, 2, 1) \ 360 F(LiveEditCompareStrings, 2, 1) \
361 F(LiveEditRestartFrame, 2, 1) 361 F(LiveEditRestartFrame, 2, 1)
362 362
363 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 0, 1) 363 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 0, 1)
364 364
365 #define FOR_EACH_INTRINSIC_MODULE(F) \ 365 #define FOR_EACH_INTRINSIC_MODULE(F) \
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
1144 1144
1145 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1145 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1146 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1146 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1147 STATIC_ASSERT(LANGUAGE_END == 2); 1147 STATIC_ASSERT(LANGUAGE_END == 2);
1148 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1148 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1149 1149
1150 } // namespace internal 1150 } // namespace internal
1151 } // namespace v8 1151 } // namespace v8
1152 1152
1153 #endif // V8_RUNTIME_RUNTIME_H_ 1153 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/parsing/parser.cc ('k') | src/runtime/runtime-function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698