Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 0cb870d624fb74a5daffc4473552b2333428edb6..52663f5758d5581be64e28047348902a52e63eaf 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -16,7 +16,6 @@ |
#include "src/base/bits.h" |
#include "src/contexts.h" |
#include "src/conversions-inl.h" |
-#include "src/elements.h" |
#include "src/factory.h" |
#include "src/field-index-inl.h" |
#include "src/heap/heap-inl.h" |
@@ -1605,16 +1604,6 @@ FixedArrayBase* JSObject::elements() const { |
} |
-void JSObject::ValidateElements(Handle<JSObject> object) { |
-#ifdef ENABLE_SLOW_DCHECKS |
- if (FLAG_enable_slow_asserts) { |
- ElementsAccessor* accessor = object->GetElementsAccessor(); |
- accessor->Validate(object); |
- } |
-#endif |
-} |
- |
- |
void AllocationSite::Initialize() { |
set_transition_info(Smi::FromInt(0)); |
SetElementsKind(GetInitialFastElementsKind()); |
@@ -6227,11 +6216,6 @@ ElementsKind JSObject::GetElementsKind() { |
} |
-ElementsAccessor* JSObject::GetElementsAccessor() { |
- return ElementsAccessor::ForKind(GetElementsKind()); |
-} |
- |
- |
bool JSObject::HasFastObjectElements() { |
return IsFastObjectElementsKind(GetElementsKind()); |
} |