Index: src/runtime/runtime-object.cc |
diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc |
index a05c6dbc0eabb55aee1191238f54775836df788c..617644c49efbf5199a24ad66ca7fc2ed1ce34b77 100644 |
--- a/src/runtime/runtime-object.cc |
+++ b/src/runtime/runtime-object.cc |
@@ -1605,35 +1605,5 @@ |
if (!obj->IsJSReceiver()) return isolate->heap()->null_value(); |
return JSReceiver::cast(obj)->class_name(); |
} |
- |
- |
-RUNTIME_FUNCTION(Runtime_DefineGetterPropertyUnchecked) { |
- HandleScope scope(isolate); |
- DCHECK(args.length() == 3); |
- CONVERT_ARG_HANDLE_CHECKED(JSObject, object, 0); |
- CONVERT_ARG_HANDLE_CHECKED(Name, name, 1); |
- CONVERT_ARG_HANDLE_CHECKED(JSFunction, getter, 2); |
- |
- RETURN_FAILURE_ON_EXCEPTION( |
- isolate, |
- JSObject::DefineAccessor(object, name, getter, |
- isolate->factory()->null_value(), NONE)); |
- return isolate->heap()->undefined_value(); |
-} |
- |
- |
-RUNTIME_FUNCTION(Runtime_DefineSetterPropertyUnchecked) { |
- HandleScope scope(isolate); |
- DCHECK(args.length() == 3); |
- CONVERT_ARG_HANDLE_CHECKED(JSObject, object, 0); |
- CONVERT_ARG_HANDLE_CHECKED(Name, name, 1); |
- CONVERT_ARG_HANDLE_CHECKED(JSFunction, setter, 2); |
- |
- RETURN_FAILURE_ON_EXCEPTION( |
- isolate, |
- JSObject::DefineAccessor(object, name, isolate->factory()->null_value(), |
- setter, NONE)); |
- return isolate->heap()->undefined_value(); |
-} |
} |
} // namespace v8::internal |