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

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: Rebase. 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
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/objects-debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/objects-debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698