Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 91bfaf2c26c79b73b2332a62ed7bab33e4947e01..38890f9d7441f66db0d370e9323c74ca7ebabc27 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -64,7 +64,6 @@ |
// - JSRegExp |
// - JSFunction |
// - JSGeneratorObject |
-// - JSModule |
// - JSGlobalObject |
// - JSGlobalProxy |
// - JSValue |
@@ -933,7 +932,6 @@ template <class C> inline bool Is(Object* obj); |
V(JSObject) \ |
V(JSContextExtensionObject) \ |
V(JSGeneratorObject) \ |
- V(JSModule) \ |
V(Map) \ |
V(DescriptorArray) \ |
V(TransitionArray) \ |
@@ -7429,31 +7427,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: |