OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2011 the V8 project authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef V8_AST_SCOPEINFO_H_ | |
6 #define V8_AST_SCOPEINFO_H_ | |
7 | |
8 #include "src/ast/modules.h" | |
9 | |
10 #include "src/objects.h" | |
11 | |
12 namespace v8 { | |
13 namespace internal { | |
14 | |
15 class ModuleInfo : public FixedArray { | |
adamk
2016/08/25 16:19:43
I think there's some desire to keep all HeapObject
neis
2016/08/26 12:10:26
I moved ModuleInfo into objects.h and removed scop
adamk
2016/08/26 16:54:44
Can you at least provide a short comment on Module
| |
16 public: | |
17 static Handle<ModuleInfo> New(Isolate* isolate, ModuleDescriptor* descr); | |
18 FixedArray* special_exports() const { return FixedArray::cast(get(0)); } | |
19 FixedArray* regular_exports() const { return FixedArray::cast(get(1)); } | |
20 }; | |
21 | |
22 } // namespace internal | |
23 } // namespace v8 | |
24 | |
25 #endif // V8_AST_SCOPEINFO_H_ | |
OLD | NEW |