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

Side by Side Diff: src/ast/scopeinfo.h

Issue 2277253003: [modules] Partial scope info support of modules (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@modules-refactor
Patch Set: Created 4 years, 3 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
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698