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

Unified Diff: src/variables.h

Issue 918373002: Strip Interface class of most of its logic, make it all about Module exports (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Properly freeze interface at the end of ParseModule Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/typing.cc ('k') | src/variables.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/variables.h
diff --git a/src/variables.h b/src/variables.h
index e35ae7d1cc377f823cf57837574c00b1cf14f953..1adeb1f0f417cc0d8bcdf6a19a2f688f1195e477 100644
--- a/src/variables.h
+++ b/src/variables.h
@@ -6,7 +6,6 @@
#define V8_VARIABLES_H_
#include "src/ast-value-factory.h"
-#include "src/interface.h"
#include "src/zone.h"
namespace v8 {
@@ -50,8 +49,7 @@ class Variable: public ZoneObject {
Variable(Scope* scope, const AstRawString* name, VariableMode mode,
bool is_valid_ref, Kind kind, InitializationFlag initialization_flag,
- MaybeAssignedFlag maybe_assigned_flag = kNotAssigned,
- Interface* interface = Interface::NewValue());
+ MaybeAssignedFlag maybe_assigned_flag = kNotAssigned);
// Printing support
static const char* Mode2String(VariableMode mode);
@@ -123,7 +121,6 @@ class Variable: public ZoneObject {
InitializationFlag initialization_flag() const {
return initialization_flag_;
}
- Interface* interface() const { return interface_; }
void AllocateTo(Location location, int index) {
location_ = location;
@@ -155,9 +152,6 @@ class Variable: public ZoneObject {
bool is_used_;
InitializationFlag initialization_flag_;
MaybeAssignedFlag maybe_assigned_;
-
- // Module type info.
- Interface* interface_;
};
« no previous file with comments | « src/typing.cc ('k') | src/variables.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698