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

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

Issue 2435023002: Use a different map to distinguish eval contexts (Closed)
Patch Set: relax dchecks Created 4 years, 1 month 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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 F(DeclareEvalFunction, 2, 1) \ 479 F(DeclareEvalFunction, 2, 1) \
480 F(DeclareEvalVar, 1, 1) \ 480 F(DeclareEvalVar, 1, 1) \
481 F(NewSloppyArguments_Generic, 1, 1) \ 481 F(NewSloppyArguments_Generic, 1, 1) \
482 F(NewStrictArguments, 1, 1) \ 482 F(NewStrictArguments, 1, 1) \
483 F(NewRestParameter, 1, 1) \ 483 F(NewRestParameter, 1, 1) \
484 F(NewSloppyArguments, 3, 1) \ 484 F(NewSloppyArguments, 3, 1) \
485 F(NewClosure, 1, 1) \ 485 F(NewClosure, 1, 1) \
486 F(NewClosure_Tenured, 1, 1) \ 486 F(NewClosure_Tenured, 1, 1) \
487 F(NewScriptContext, 2, 1) \ 487 F(NewScriptContext, 2, 1) \
488 F(NewFunctionContext, 1, 1) \ 488 F(NewFunctionContext, 1, 1) \
489 F(NewEvalContext, 1, 1) \
489 F(PushModuleContext, 3, 1) \ 490 F(PushModuleContext, 3, 1) \
490 F(PushWithContext, 3, 1) \ 491 F(PushWithContext, 3, 1) \
491 F(PushCatchContext, 4, 1) \ 492 F(PushCatchContext, 4, 1) \
492 F(PushBlockContext, 2, 1) \ 493 F(PushBlockContext, 2, 1) \
493 F(DeleteLookupSlot, 1, 1) \ 494 F(DeleteLookupSlot, 1, 1) \
494 F(LoadLookupSlot, 1, 1) \ 495 F(LoadLookupSlot, 1, 1) \
495 F(LoadLookupSlotInsideTypeof, 1, 1) \ 496 F(LoadLookupSlotInsideTypeof, 1, 1) \
496 F(StoreLookupSlot_Sloppy, 2, 1) \ 497 F(StoreLookupSlot_Sloppy, 2, 1) \
497 F(StoreLookupSlot_Strict, 2, 1) 498 F(StoreLookupSlot_Strict, 2, 1)
498 499
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 1131
1131 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1132 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1132 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1133 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1133 STATIC_ASSERT(LANGUAGE_END == 2); 1134 STATIC_ASSERT(LANGUAGE_END == 2);
1134 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1135 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1135 1136
1136 } // namespace internal 1137 } // namespace internal
1137 } // namespace v8 1138 } // namespace v8
1138 1139
1139 #endif // V8_RUNTIME_RUNTIME_H_ 1140 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698