Index: src/runtime/runtime-object.cc |
diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc |
index 60d054d3e4f5fb438db1d5883cd76dc7f18fc04f..88c3490f87153dd83ba709251fc08f9a87543b1c 100644 |
--- a/src/runtime/runtime-object.cc |
+++ b/src/runtime/runtime-object.cc |
@@ -564,21 +564,6 @@ RUNTIME_FUNCTION(Runtime_HasProperty) { |
} |
-RUNTIME_FUNCTION(Runtime_PropertyIsEnumerable) { |
- HandleScope scope(isolate); |
- DCHECK(args.length() == 2); |
- |
- CONVERT_ARG_HANDLE_CHECKED(JSReceiver, object, 0); |
- CONVERT_ARG_HANDLE_CHECKED(Name, key, 1); |
- |
- Maybe<PropertyAttributes> maybe = |
- JSReceiver::GetOwnPropertyAttributes(object, key); |
- if (!maybe.IsJust()) return isolate->heap()->exception(); |
- if (maybe.FromJust() == ABSENT) return isolate->heap()->false_value(); |
- return isolate->heap()->ToBoolean((maybe.FromJust() & DONT_ENUM) == 0); |
-} |
- |
- |
RUNTIME_FUNCTION(Runtime_GetOwnPropertyKeys) { |
HandleScope scope(isolate); |
DCHECK(args.length() == 2); |
@@ -868,15 +853,6 @@ RUNTIME_FUNCTION(Runtime_ToPrimitive_Number) { |
} |
-RUNTIME_FUNCTION(Runtime_ToPrimitive_String) { |
- HandleScope scope(isolate); |
- DCHECK_EQ(1, args.length()); |
- CONVERT_ARG_HANDLE_CHECKED(Object, input, 0); |
- RETURN_RESULT_OR_FAILURE( |
- isolate, Object::ToPrimitive(input, ToPrimitiveHint::kString)); |
-} |
- |
- |
RUNTIME_FUNCTION(Runtime_ToNumber) { |
HandleScope scope(isolate); |
DCHECK_EQ(1, args.length()); |