| Index: src/runtime/runtime-object.cc
|
| diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc
|
| index 96d46dd442eaeda876cebf584bbfdfcea6df6eef..9134b39dcadd7679b51ca14072667b57c0d5e553 100644
|
| --- a/src/runtime/runtime-object.cc
|
| +++ b/src/runtime/runtime-object.cc
|
| @@ -1363,21 +1363,6 @@ RUNTIME_FUNCTION(Runtime_ObjectEquals) {
|
| }
|
|
|
|
|
| -RUNTIME_FUNCTION(Runtime_IsObject) {
|
| - SealHandleScope shs(isolate);
|
| - DCHECK(args.length() == 1);
|
| - CONVERT_ARG_CHECKED(Object, obj, 0);
|
| - if (!obj->IsHeapObject()) return isolate->heap()->false_value();
|
| - if (obj->IsNull()) return isolate->heap()->true_value();
|
| - if (obj->IsUndetectableObject()) return isolate->heap()->false_value();
|
| - Map* map = HeapObject::cast(obj)->map();
|
| - bool is_non_callable_spec_object =
|
| - map->instance_type() >= FIRST_NONCALLABLE_SPEC_OBJECT_TYPE &&
|
| - map->instance_type() <= LAST_NONCALLABLE_SPEC_OBJECT_TYPE;
|
| - return isolate->heap()->ToBoolean(is_non_callable_spec_object);
|
| -}
|
| -
|
| -
|
| RUNTIME_FUNCTION(Runtime_IsSpecObject) {
|
| SealHandleScope shs(isolate);
|
| DCHECK(args.length() == 1);
|
|
|