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

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

Issue 2435023002: Use a different map to distinguish eval contexts (Closed)
Patch Set: Changes from review 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/objects-inl.h ('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 <memory> 8 #include <memory>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 F(DeclareEvalFunction, 2, 1) \ 486 F(DeclareEvalFunction, 2, 1) \
487 F(DeclareEvalVar, 1, 1) \ 487 F(DeclareEvalVar, 1, 1) \
488 F(NewSloppyArguments_Generic, 1, 1) \ 488 F(NewSloppyArguments_Generic, 1, 1) \
489 F(NewStrictArguments, 1, 1) \ 489 F(NewStrictArguments, 1, 1) \
490 F(NewRestParameter, 1, 1) \ 490 F(NewRestParameter, 1, 1) \
491 F(NewSloppyArguments, 3, 1) \ 491 F(NewSloppyArguments, 3, 1) \
492 F(NewArgumentsElements, 2, 1) \ 492 F(NewArgumentsElements, 2, 1) \
493 F(NewClosure, 1, 1) \ 493 F(NewClosure, 1, 1) \
494 F(NewClosure_Tenured, 1, 1) \ 494 F(NewClosure_Tenured, 1, 1) \
495 F(NewScriptContext, 2, 1) \ 495 F(NewScriptContext, 2, 1) \
496 F(NewFunctionContext, 1, 1) \ 496 F(NewFunctionContext, 2, 1) \
497 F(PushModuleContext, 3, 1) \ 497 F(PushModuleContext, 3, 1) \
498 F(PushWithContext, 3, 1) \ 498 F(PushWithContext, 3, 1) \
499 F(PushCatchContext, 4, 1) \ 499 F(PushCatchContext, 4, 1) \
500 F(PushBlockContext, 2, 1) \ 500 F(PushBlockContext, 2, 1) \
501 F(DeleteLookupSlot, 1, 1) \ 501 F(DeleteLookupSlot, 1, 1) \
502 F(LoadLookupSlot, 1, 1) \ 502 F(LoadLookupSlot, 1, 1) \
503 F(LoadLookupSlotInsideTypeof, 1, 1) \ 503 F(LoadLookupSlotInsideTypeof, 1, 1) \
504 F(StoreLookupSlot_Sloppy, 2, 1) \ 504 F(StoreLookupSlot_Sloppy, 2, 1) \
505 F(StoreLookupSlot_Strict, 2, 1) 505 F(StoreLookupSlot_Strict, 2, 1)
506 506
(...skipping 637 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/objects-inl.h ('k') | src/runtime/runtime-scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698