Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index e3b47427e38251435c4d4ab36f7498d7ec34029b..b4baf993b84b66a81161364e95b00b26ba1b1262 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -30,6 +30,7 @@ |
#include "src/lookup-cache-inl.h" |
#include "src/lookup.h" |
#include "src/objects.h" |
+#include "src/objects/scope-info.h" |
#include "src/property.h" |
#include "src/prototype.h" |
#include "src/transitions-inl.h" |
@@ -8033,29 +8034,6 @@ Handle<Object> WeakHashTableShape<entrysize>::AsHandle(Isolate* isolate, |
} |
-bool ScopeInfo::IsAsmModule() { return AsmModuleField::decode(Flags()); } |
- |
- |
-bool ScopeInfo::IsAsmFunction() { return AsmFunctionField::decode(Flags()); } |
- |
- |
-bool ScopeInfo::HasSimpleParameters() { |
- return HasSimpleParametersField::decode(Flags()); |
-} |
- |
- |
-#define SCOPE_INFO_FIELD_ACCESSORS(name) \ |
- void ScopeInfo::Set##name(int value) { set(k##name, Smi::FromInt(value)); } \ |
- int ScopeInfo::name() { \ |
- if (length() > 0) { \ |
- return Smi::cast(get(k##name))->value(); \ |
- } else { \ |
- return 0; \ |
- } \ |
- } |
-FOR_EACH_SCOPE_INFO_NUMERIC_FIELD(SCOPE_INFO_FIELD_ACCESSORS) |
-#undef SCOPE_INFO_FIELD_ACCESSORS |
- |
ACCESSORS(ModuleInfoEntry, export_name, Object, kExportNameOffset) |
ACCESSORS(ModuleInfoEntry, local_name, Object, kLocalNameOffset) |
ACCESSORS(ModuleInfoEntry, import_name, Object, kImportNameOffset) |