Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index f76e1d7fb2008abd2a344bae25c19d92e0415a1b..fd9b62032ea48b02515958c55ce5c1e2833df645 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -64,7 +64,6 @@ |
// - JSRegExp |
// - JSFunction |
// - JSGeneratorObject |
-// - JSModule |
// - JSGlobalObject |
// - JSGlobalProxy |
// - JSValue |
@@ -929,7 +928,6 @@ template <class C> inline bool Is(Object* obj); |
V(JSObject) \ |
V(JSContextExtensionObject) \ |
V(JSGeneratorObject) \ |
- V(JSModule) \ |
V(Map) \ |
V(DescriptorArray) \ |
V(TransitionArray) \ |
@@ -7417,31 +7415,6 @@ class JSGeneratorObject: public JSObject { |
}; |
-// Representation for module instance objects. |
-class JSModule: public JSObject { |
- public: |
- // [context]: the context holding the module's locals, or undefined if none. |
- DECL_ACCESSORS(context, Object) |
- |
- // [scope_info]: Scope info. |
- DECL_ACCESSORS(scope_info, ScopeInfo) |
- |
- DECLARE_CAST(JSModule) |
- |
- // Dispatched behavior. |
- DECLARE_PRINTER(JSModule) |
- DECLARE_VERIFIER(JSModule) |
- |
- // Layout description. |
- static const int kContextOffset = JSObject::kHeaderSize; |
- static const int kScopeInfoOffset = kContextOffset + kPointerSize; |
- static const int kSize = kScopeInfoOffset + kPointerSize; |
- |
- private: |
- DISALLOW_IMPLICIT_CONSTRUCTORS(JSModule); |
-}; |
- |
- |
// JSBoundFunction describes a bound function exotic object. |
class JSBoundFunction : public JSObject { |
public: |