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

Unified Diff: src/objects.h

Issue 2081733004: Rip out most of our outdated modules implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Leftovers. Created 4 years, 6 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
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:

Powered by Google App Engine
This is Rietveld 408576698