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

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

Issue 1382513003: Test for var declarations in eval which conflict with let (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: mask out eval bit Created 5 years, 2 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/property-details.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 "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/unicode.h" 10 #include "src/unicode.h"
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 F(RegExpExecMultiple, 4, 1) \ 559 F(RegExpExecMultiple, 4, 1) \
560 F(RegExpExecReThrow, 4, 1) \ 560 F(RegExpExecReThrow, 4, 1) \
561 F(IsRegExp, 1, 1) 561 F(IsRegExp, 1, 1)
562 562
563 563
564 #define FOR_EACH_INTRINSIC_SCOPES(F) \ 564 #define FOR_EACH_INTRINSIC_SCOPES(F) \
565 F(ThrowConstAssignError, 0, 1) \ 565 F(ThrowConstAssignError, 0, 1) \
566 F(DeclareGlobals, 2, 1) \ 566 F(DeclareGlobals, 2, 1) \
567 F(InitializeVarGlobal, 3, 1) \ 567 F(InitializeVarGlobal, 3, 1) \
568 F(InitializeConstGlobal, 2, 1) \ 568 F(InitializeConstGlobal, 2, 1) \
569 F(DeclareLookupSlot, 2, 1) \ 569 F(DeclareLookupSlot, 3, 1) \
570 F(DeclareReadOnlyLookupSlot, 2, 1) \
571 F(InitializeLegacyConstLookupSlot, 3, 1) \ 570 F(InitializeLegacyConstLookupSlot, 3, 1) \
572 F(NewSloppyArguments_Generic, 1, 1) \ 571 F(NewSloppyArguments_Generic, 1, 1) \
573 F(NewStrictArguments_Generic, 1, 1) \ 572 F(NewStrictArguments_Generic, 1, 1) \
574 F(NewSloppyArguments, 3, 1) \ 573 F(NewSloppyArguments, 3, 1) \
575 F(NewStrictArguments, 3, 1) \ 574 F(NewStrictArguments, 3, 1) \
576 F(NewClosure, 1, 1) \ 575 F(NewClosure, 1, 1) \
577 F(NewClosure_Tenured, 1, 1) \ 576 F(NewClosure_Tenured, 1, 1) \
578 F(NewScriptContext, 2, 1) \ 577 F(NewScriptContext, 2, 1) \
579 F(NewFunctionContext, 1, 1) \ 578 F(NewFunctionContext, 1, 1) \
580 F(PushWithContext, 2, 1) \ 579 F(PushWithContext, 2, 1) \
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 1254
1256 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 1255 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
1257 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 1256 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
1258 STATIC_ASSERT(LANGUAGE_END == 3); 1257 STATIC_ASSERT(LANGUAGE_END == 3);
1259 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; 1258 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {};
1260 1259
1261 } // namespace internal 1260 } // namespace internal
1262 } // namespace v8 1261 } // namespace v8
1263 1262
1264 #endif // V8_RUNTIME_RUNTIME_H_ 1263 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/property-details.h ('k') | src/runtime/runtime-scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698