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

Side by Side Diff: src/contexts.h

Issue 2642353002: objects.h splitting: Move RegExpMatchInfo. (Closed)
Patch Set: Created 3 years, 11 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 | « BUILD.gn ('k') | src/objects.h » ('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_CONTEXTS_H_ 5 #ifndef V8_CONTEXTS_H_
6 #define V8_CONTEXTS_H_ 6 #define V8_CONTEXTS_H_
7 7
8 #include "src/heap/heap.h" 8 #include "src/heap/heap.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/objects/regexp-match-info.h"
marja 2017/01/20 12:03:07 This is slightly weird.. but.. contexts.h needs to
Michael Starzinger 2017/01/20 12:18:48 question: Is it really contexts.h that needs to kn
marja 2017/01/20 12:27:03 Ah yes, moved it to contexts-inl.h. The macro is f
10 11
11 namespace v8 { 12 namespace v8 {
12 namespace internal { 13 namespace internal {
13 14
14 15
15 enum ContextLookupFlags { 16 enum ContextLookupFlags {
16 FOLLOW_CONTEXT_CHAIN = 1 << 0, 17 FOLLOW_CONTEXT_CHAIN = 1 << 0,
17 FOLLOW_PROTOTYPE_CHAIN = 1 << 1, 18 FOLLOW_PROTOTYPE_CHAIN = 1 << 1,
18 STOP_AT_DECLARATION_SCOPE = 1 << 2, 19 STOP_AT_DECLARATION_SCOPE = 1 << 2,
19 SKIP_WITH_CONTEXT = 1 << 3, 20 SKIP_WITH_CONTEXT = 1 << 3,
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 691 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
691 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 692 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
692 }; 693 };
693 694
694 typedef Context::Field ContextField; 695 typedef Context::Field ContextField;
695 696
696 } // namespace internal 697 } // namespace internal
697 } // namespace v8 698 } // namespace v8
698 699
699 #endif // V8_CONTEXTS_H_ 700 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698