Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 2efd7ef6597a5e9cb174a9a2301eb6898a3ec28d..3fe65c4c15040dd73f6acad1b66af87c4ec1c9f2 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -1146,13 +1146,6 @@ MaybeHandle<JSReceiver> Object::ToObject(Isolate* isolate, |
// static |
-MaybeHandle<Name> Object::ToName(Isolate* isolate, Handle<Object> input) { |
- if (input->IsName()) return Handle<Name>::cast(input); |
- return ToString(isolate, input); |
-} |
- |
- |
-// static |
MaybeHandle<Object> Object::ToPrimitive(Handle<Object> input, |
ToPrimitiveHint hint) { |
if (input->IsPrimitive()) return input; |