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/runtime.h

Issue 2547483002: Store SharedFunctionInfos of a Script in a FixedArray indexed by their ID (Closed)
Patch Set: updates 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
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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 F(ThrowUndefinedOrNullToObject, 1, 1) \ 331 F(ThrowUndefinedOrNullToObject, 1, 1) \
332 F(Typeof, 1, 1) \ 332 F(Typeof, 1, 1) \
333 F(UnwindAndFindExceptionHandler, 0, 1) 333 F(UnwindAndFindExceptionHandler, 0, 1)
334 334
335 #define FOR_EACH_INTRINSIC_LITERALS(F) \ 335 #define FOR_EACH_INTRINSIC_LITERALS(F) \
336 F(CreateRegExpLiteral, 4, 1) \ 336 F(CreateRegExpLiteral, 4, 1) \
337 F(CreateObjectLiteral, 4, 1) \ 337 F(CreateObjectLiteral, 4, 1) \
338 F(CreateArrayLiteral, 4, 1) \ 338 F(CreateArrayLiteral, 4, 1) \
339 F(CreateArrayLiteralStubBailout, 3, 1) 339 F(CreateArrayLiteralStubBailout, 3, 1)
340 340
341
342 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ 341 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \
343 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ 342 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \
344 F(LiveEditGatherCompileInfo, 2, 1) \ 343 F(LiveEditGatherCompileInfo, 2, 1) \
345 F(LiveEditReplaceScript, 3, 1) \ 344 F(LiveEditReplaceScript, 3, 1) \
346 F(LiveEditFunctionSourceUpdated, 1, 1) \ 345 F(LiveEditFunctionSourceUpdated, 2, 1) \
347 F(LiveEditReplaceFunctionCode, 2, 1) \ 346 F(LiveEditReplaceFunctionCode, 2, 1) \
347 F(LiveEditFixupScript, 2, 1) \
348 F(LiveEditFunctionSetScript, 2, 1) \ 348 F(LiveEditFunctionSetScript, 2, 1) \
349 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ 349 F(LiveEditReplaceRefToNestedFunction, 3, 1) \
350 F(LiveEditPatchFunctionPositions, 2, 1) \ 350 F(LiveEditPatchFunctionPositions, 2, 1) \
351 F(LiveEditCheckAndDropActivations, 3, 1) \ 351 F(LiveEditCheckAndDropActivations, 3, 1) \
352 F(LiveEditCompareStrings, 2, 1) \ 352 F(LiveEditCompareStrings, 2, 1) \
353 F(LiveEditRestartFrame, 2, 1) 353 F(LiveEditRestartFrame, 2, 1)
354 354
355 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 0, 1) 355 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 0, 1)
356 356
357 #define FOR_EACH_INTRINSIC_MODULE(F) \ 357 #define FOR_EACH_INTRINSIC_MODULE(F) \
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 1129
1130 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1130 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1131 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1131 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1132 STATIC_ASSERT(LANGUAGE_END == 2); 1132 STATIC_ASSERT(LANGUAGE_END == 2);
1133 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1133 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1134 1134
1135 } // namespace internal 1135 } // namespace internal
1136 } // namespace v8 1136 } // namespace v8
1137 1137
1138 #endif // V8_RUNTIME_RUNTIME_H_ 1138 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698