Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 3156edc1420261c7033d53f68b826e96520f031b..f4673a1c05f6d5d2ee81f6ec9e15d9e842ba580b 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -11267,24 +11267,6 @@ MaybeObject* JSObject::SetFastElementsCapacityAndLength( |
} |
-bool Code::IsWeakEmbeddedObject(Kind kind, Object* object) { |
- if (kind != Code::OPTIMIZED_FUNCTION) return false; |
- |
- if (object->IsMap()) { |
- return Map::cast(object)->CanTransition() && |
- FLAG_collect_maps && |
- FLAG_weak_embedded_maps_in_optimized_code; |
- } |
- |
- if (object->IsJSObject() || |
- (object->IsCell() && Cell::cast(object)->value()->IsJSObject())) { |
- return FLAG_weak_embedded_objects_in_optimized_code; |
- } |
- |
- return false; |
-} |
- |
- |
void JSObject::SetFastDoubleElementsCapacityAndLength(Handle<JSObject> object, |
int capacity, |
int length) { |