| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index b0af9e77e3b44ab1c12619e027f0f2b40234abd3..7a2049e3cd0198cc4ff43d58330908586afc9185 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -5539,32 +5539,6 @@ RUNTIME_FUNCTION(Runtime_DebugPromiseHandleEpilogue) {
|
| }
|
|
|
|
|
| -// Set an own property, even if it is READ_ONLY. If the property does not
|
| -// exist, it will be added with attributes NONE.
|
| -RUNTIME_FUNCTION(Runtime_IgnoreAttributesAndSetProperty) {
|
| - HandleScope scope(isolate);
|
| - RUNTIME_ASSERT(args.length() == 3 || args.length() == 4);
|
| - CONVERT_ARG_HANDLE_CHECKED(JSObject, object, 0);
|
| - CONVERT_ARG_HANDLE_CHECKED(Name, name, 1);
|
| - CONVERT_ARG_HANDLE_CHECKED(Object, value, 2);
|
| - // Compute attributes.
|
| - PropertyAttributes attributes = NONE;
|
| - if (args.length() == 4) {
|
| - CONVERT_SMI_ARG_CHECKED(unchecked_value, 3);
|
| - // Only attribute bits should be set.
|
| - RUNTIME_ASSERT(
|
| - (unchecked_value & ~(READ_ONLY | DONT_ENUM | DONT_DELETE)) == 0);
|
| - attributes = static_cast<PropertyAttributes>(unchecked_value);
|
| - }
|
| - Handle<Object> result;
|
| - ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
|
| - isolate, result,
|
| - JSObject::SetOwnPropertyIgnoreAttributes(
|
| - object, name, value, attributes));
|
| - return *result;
|
| -}
|
| -
|
| -
|
| RUNTIME_FUNCTION(Runtime_DeleteProperty) {
|
| HandleScope scope(isolate);
|
| ASSERT(args.length() == 3);
|
|
|