| Index: src/runtime/runtime-object.cc
|
| diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc
|
| index c489ab4c5655e174fcd036e5b5099f961eb55680..990ca1359141b865ff17d91234fd1ef5d48328ef 100644
|
| --- a/src/runtime/runtime-object.cc
|
| +++ b/src/runtime/runtime-object.cc
|
| @@ -1058,7 +1058,8 @@ RUNTIME_FUNCTION(Runtime_InstanceOf) {
|
| Handle<Object> prototype;
|
| ASSIGN_RETURN_FAILURE_ON_EXCEPTION(
|
| isolate, prototype,
|
| - Object::GetProperty(callable, isolate->factory()->prototype_string()));
|
| + JSReceiver::GetProperty(Handle<JSReceiver>::cast(callable),
|
| + isolate->factory()->prototype_string()));
|
| if (!prototype->IsJSReceiver()) {
|
| THROW_NEW_ERROR_RETURN_FAILURE(
|
| isolate,
|
|
|