Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 45f5ba0c0a3c7f3d1cb5250abbfd7711bd3c760c..8f9a7b56641409ef45176e7d3a611aaa0e30aeae 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -169,7 +169,6 @@ |
namespace v8 { |
namespace internal { |
-class ModuleInfo; |
struct InliningPosition; |
enum KeyedAccessStoreMode { |
@@ -984,12 +983,6 @@ class TemplateList; |
// A template-ized version of the IsXXX functions. |
template <class C> inline bool Is(Object* obj); |
-#ifdef VERIFY_HEAP |
-#define DECLARE_VERIFIER(Name) void Name##Verify(); |
-#else |
-#define DECLARE_VERIFIER(Name) |
-#endif |
- |
#ifdef OBJECT_PRINT |
#define DECLARE_PRINTER(Name) void Name##Print(std::ostream& os); // NOLINT |
#else |
@@ -7906,40 +7899,6 @@ class JSGeneratorObject: public JSObject { |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSGeneratorObject); |
}; |
-class ModuleInfoEntry : public Struct { |
- public: |
- DECLARE_CAST(ModuleInfoEntry) |
- DECLARE_PRINTER(ModuleInfoEntry) |
- DECLARE_VERIFIER(ModuleInfoEntry) |
- |
- DECL_ACCESSORS(export_name, Object) |
- DECL_ACCESSORS(local_name, Object) |
- DECL_ACCESSORS(import_name, Object) |
- DECL_INT_ACCESSORS(module_request) |
- DECL_INT_ACCESSORS(cell_index) |
- DECL_INT_ACCESSORS(beg_pos) |
- DECL_INT_ACCESSORS(end_pos) |
- |
- static Handle<ModuleInfoEntry> New(Isolate* isolate, |
- Handle<Object> export_name, |
- Handle<Object> local_name, |
- Handle<Object> import_name, |
- int module_request, int cell_index, |
- int beg_pos, int end_pos); |
- |
- static const int kExportNameOffset = HeapObject::kHeaderSize; |
- static const int kLocalNameOffset = kExportNameOffset + kPointerSize; |
- static const int kImportNameOffset = kLocalNameOffset + kPointerSize; |
- static const int kModuleRequestOffset = kImportNameOffset + kPointerSize; |
- static const int kCellIndexOffset = kModuleRequestOffset + kPointerSize; |
- static const int kBegPosOffset = kCellIndexOffset + kPointerSize; |
- static const int kEndPosOffset = kBegPosOffset + kPointerSize; |
- static const int kSize = kEndPosOffset + kPointerSize; |
- |
- private: |
- DISALLOW_IMPLICIT_CONSTRUCTORS(ModuleInfoEntry); |
-}; |
- |
// When importing a module namespace (import * as foo from "bar"), a |
// JSModuleNamespace object (representing module "bar") is created and bound to |
// the declared variable (foo). A module can have at most one namespace object. |
@@ -11576,11 +11535,6 @@ class BreakPointInfo: public Struct { |
}; |
-#undef DECL_BOOLEAN_ACCESSORS |
-#undef DECL_ACCESSORS |
-#undef DECLARE_CAST |
-#undef DECLARE_VERIFIER |
- |
#define VISITOR_SYNCHRONIZATION_TAGS_LIST(V) \ |
V(kStringTable, "string_table", "(Internalized strings)") \ |
V(kExternalStringsTable, "external_strings_table", "(External strings)") \ |