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

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

Issue 2107193002: [ic] Initialize feedback slots for LoadGlobalIC in Runtime::kDeclareGlobals when possible to ... (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebasing on top of Issue 2127583002 Patch 120001 Created 4 years, 5 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
« no previous file with comments | « src/objects-printer.cc ('k') | src/runtime/runtime-scopes.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 "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/base/platform/time.h" 9 #include "src/base/platform/time.h"
10 #include "src/objects.h" 10 #include "src/objects.h"
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 F(StringSplit, 3, 1) \ 464 F(StringSplit, 3, 1) \
465 F(RegExpExec, 4, 1) \ 465 F(RegExpExec, 4, 1) \
466 F(RegExpFlags, 1, 1) \ 466 F(RegExpFlags, 1, 1) \
467 F(RegExpSource, 1, 1) \ 467 F(RegExpSource, 1, 1) \
468 F(RegExpConstructResult, 3, 1) \ 468 F(RegExpConstructResult, 3, 1) \
469 F(RegExpInitializeAndCompile, 3, 1) \ 469 F(RegExpInitializeAndCompile, 3, 1) \
470 F(RegExpExecMultiple, 4, 1) \ 470 F(RegExpExecMultiple, 4, 1) \
471 F(RegExpExecReThrow, 4, 1) \ 471 F(RegExpExecReThrow, 4, 1) \
472 F(IsRegExp, 1, 1) 472 F(IsRegExp, 1, 1)
473 473
474 #define FOR_EACH_INTRINSIC_SCOPES(F) \ 474 #define FOR_EACH_INTRINSIC_SCOPES(F) \
475 F(ThrowConstAssignError, 0, 1) \ 475 F(ThrowConstAssignError, 0, 1) \
476 F(DeclareGlobals, 2, 1) \ 476 F(DeclareGlobals, 3, 1) \
477 F(InitializeVarGlobal, 3, 1) \ 477 F(DeclareGlobalsForInterpreter, 3, 1) \
478 F(InitializeConstGlobal, 2, 1) \ 478 F(InitializeVarGlobal, 3, 1) \
479 F(DeclareEvalFunction, 2, 1) \ 479 F(InitializeConstGlobal, 2, 1) \
480 F(DeclareEvalVar, 1, 1) \ 480 F(DeclareEvalFunction, 2, 1) \
481 F(NewSloppyArguments_Generic, 1, 1) \ 481 F(DeclareEvalVar, 1, 1) \
482 F(NewStrictArguments, 1, 1) \ 482 F(NewSloppyArguments_Generic, 1, 1) \
483 F(NewRestParameter, 1, 1) \ 483 F(NewStrictArguments, 1, 1) \
484 F(NewSloppyArguments, 3, 1) \ 484 F(NewRestParameter, 1, 1) \
485 F(NewClosure, 1, 1) \ 485 F(NewSloppyArguments, 3, 1) \
486 F(NewClosure_Tenured, 1, 1) \ 486 F(NewClosure, 1, 1) \
487 F(NewScriptContext, 2, 1) \ 487 F(NewClosure_Tenured, 1, 1) \
488 F(NewFunctionContext, 1, 1) \ 488 F(NewScriptContext, 2, 1) \
489 F(PushWithContext, 2, 1) \ 489 F(NewFunctionContext, 1, 1) \
490 F(PushCatchContext, 3, 1) \ 490 F(PushWithContext, 2, 1) \
491 F(PushBlockContext, 2, 1) \ 491 F(PushCatchContext, 3, 1) \
492 F(DeleteLookupSlot, 1, 1) \ 492 F(PushBlockContext, 2, 1) \
493 F(LoadLookupSlot, 1, 1) \ 493 F(DeleteLookupSlot, 1, 1) \
494 F(LoadLookupSlotInsideTypeof, 1, 1) \ 494 F(LoadLookupSlot, 1, 1) \
495 F(StoreLookupSlot_Sloppy, 2, 1) \ 495 F(LoadLookupSlotInsideTypeof, 1, 1) \
496 F(StoreLookupSlot_Sloppy, 2, 1) \
496 F(StoreLookupSlot_Strict, 2, 1) 497 F(StoreLookupSlot_Strict, 2, 1)
497 498
498 #define FOR_EACH_INTRINSIC_SIMD(F) \ 499 #define FOR_EACH_INTRINSIC_SIMD(F) \
499 F(IsSimdValue, 1, 1) \ 500 F(IsSimdValue, 1, 1) \
500 F(CreateFloat32x4, 4, 1) \ 501 F(CreateFloat32x4, 4, 1) \
501 F(CreateInt32x4, 4, 1) \ 502 F(CreateInt32x4, 4, 1) \
502 F(CreateUint32x4, 4, 1) \ 503 F(CreateUint32x4, 4, 1) \
503 F(CreateBool32x4, 4, 1) \ 504 F(CreateBool32x4, 4, 1) \
504 F(CreateInt16x8, 8, 1) \ 505 F(CreateInt16x8, 8, 1) \
505 F(CreateUint16x8, 8, 1) \ 506 F(CreateUint16x8, 8, 1) \
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
1140 1141
1141 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1142 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1142 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1143 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1143 STATIC_ASSERT(LANGUAGE_END == 3); 1144 STATIC_ASSERT(LANGUAGE_END == 3);
1144 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1145 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1145 1146
1146 } // namespace internal 1147 } // namespace internal
1147 } // namespace v8 1148 } // namespace v8
1148 1149
1149 #endif // V8_RUNTIME_RUNTIME_H_ 1150 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | src/runtime/runtime-scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698