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

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: 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 F(ThrowUndefinedOrNullToObject, 1, 1) \ 329 F(ThrowUndefinedOrNullToObject, 1, 1) \
330 F(Typeof, 1, 1) \ 330 F(Typeof, 1, 1) \
331 F(UnwindAndFindExceptionHandler, 0, 1) 331 F(UnwindAndFindExceptionHandler, 0, 1)
332 332
333 #define FOR_EACH_INTRINSIC_LITERALS(F) \ 333 #define FOR_EACH_INTRINSIC_LITERALS(F) \
334 F(CreateRegExpLiteral, 4, 1) \ 334 F(CreateRegExpLiteral, 4, 1) \
335 F(CreateObjectLiteral, 4, 1) \ 335 F(CreateObjectLiteral, 4, 1) \
336 F(CreateArrayLiteral, 4, 1) \ 336 F(CreateArrayLiteral, 4, 1) \
337 F(CreateArrayLiteralStubBailout, 3, 1) 337 F(CreateArrayLiteralStubBailout, 3, 1)
338 338
339
340 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ 339 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \
341 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ 340 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \
342 F(LiveEditGatherCompileInfo, 2, 1) \ 341 F(LiveEditGatherCompileInfo, 2, 1) \
343 F(LiveEditReplaceScript, 3, 1) \ 342 F(LiveEditReplaceScript, 4, 1) \
344 F(LiveEditFunctionSourceUpdated, 1, 1) \ 343 F(LiveEditFunctionSourceUpdated, 1, 1) \
345 F(LiveEditReplaceFunctionCode, 2, 1) \ 344 F(LiveEditReplaceFunctionCode, 2, 1) \
346 F(LiveEditFunctionSetScript, 2, 1) \ 345 F(LiveEditFunctionSetScript, 2, 1) \
347 F(LiveEditReplaceRefToNestedFunction, 3, 1) \ 346 F(LiveEditReplaceRefToNestedFunction, 3, 1) \
348 F(LiveEditPatchFunctionPositions, 2, 1) \ 347 F(LiveEditPatchFunctionPositions, 2, 1) \
349 F(LiveEditCheckAndDropActivations, 3, 1) \ 348 F(LiveEditCheckAndDropActivations, 3, 1) \
350 F(LiveEditCompareStrings, 2, 1) \ 349 F(LiveEditCompareStrings, 2, 1) \
351 F(LiveEditRestartFrame, 2, 1) 350 F(LiveEditRestartFrame, 2, 1)
352 351
353 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 0, 1) 352 #define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 0, 1)
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 1125
1127 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1126 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1128 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1127 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1129 STATIC_ASSERT(LANGUAGE_END == 2); 1128 STATIC_ASSERT(LANGUAGE_END == 2);
1130 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1129 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1131 1130
1132 } // namespace internal 1131 } // namespace internal
1133 } // namespace v8 1132 } // namespace v8
1134 1133
1135 #endif // V8_RUNTIME_RUNTIME_H_ 1134 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698