Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 49b1b3ccb7cd971922d30cd45240aab39289d7ac..1234725223fa24f1299f9153888264226c07fd77 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -6251,24 +6251,6 @@ bool JSObject::HasIndexedInterceptor() { |
} |
-MaybeObject* JSObject::EnsureWritableFastElements() { |
- ASSERT(HasFastSmiOrObjectElements()); |
- FixedArray* elems = FixedArray::cast(elements()); |
- Isolate* isolate = GetIsolate(); |
- if (elems->map() != isolate->heap()->fixed_cow_array_map()) return elems; |
- Object* writable_elems; |
- { MaybeObject* maybe_writable_elems = isolate->heap()->CopyFixedArrayWithMap( |
- elems, isolate->heap()->fixed_array_map()); |
- if (!maybe_writable_elems->ToObject(&writable_elems)) { |
- return maybe_writable_elems; |
- } |
- } |
- set_elements(FixedArray::cast(writable_elems)); |
- isolate->counters()->cow_arrays_converted()->Increment(); |
- return writable_elems; |
-} |
- |
- |
NameDictionary* JSObject::property_dictionary() { |
ASSERT(!HasFastProperties()); |
return NameDictionary::cast(properties()); |
@@ -6810,24 +6792,6 @@ void JSArray::SetContent(Handle<JSArray> array, |
} |
-MaybeObject* FixedArray::Copy() { |
- if (length() == 0) return this; |
- return GetHeap()->CopyFixedArray(this); |
-} |
- |
- |
-MaybeObject* FixedDoubleArray::Copy() { |
- if (length() == 0) return this; |
- return GetHeap()->CopyFixedDoubleArray(this); |
-} |
- |
- |
-MaybeObject* ConstantPoolArray::Copy() { |
- if (length() == 0) return this; |
- return GetHeap()->CopyConstantPoolArray(this); |
-} |
- |
- |
Handle<Object> TypeFeedbackInfo::UninitializedSentinel(Isolate* isolate) { |
return isolate->factory()->uninitialized_symbol(); |
} |