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

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

Issue 2435023002: Use a different map to distinguish eval contexts (Closed)
Patch Set: Clean up test 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 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
1137 1137
1138 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1138 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1139 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1139 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1140 STATIC_ASSERT(LANGUAGE_END == 2); 1140 STATIC_ASSERT(LANGUAGE_END == 2);
1141 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; 1141 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {};
1142 1142
1143 } // namespace internal 1143 } // namespace internal
1144 } // namespace v8 1144 } // namespace v8
1145 1145
1146 #endif // V8_RUNTIME_RUNTIME_H_ 1146 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698