| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index fc40fe6c2dd1cdbf9d3f1299793d53518737afd2..09a473c3f1265f8d0020984d87a65726fe2b6938 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -1956,9 +1956,9 @@ MaybeHandle<JSBoundFunction> Factory::NewJSBoundFunction(
|
|
|
| // Determine the prototype of the {target_function}.
|
| Handle<Object> prototype;
|
| - ASSIGN_RETURN_ON_EXCEPTION(isolate(), prototype,
|
| - Object::GetPrototype(isolate(), target_function),
|
| - JSBoundFunction);
|
| + ASSIGN_RETURN_ON_EXCEPTION(
|
| + isolate(), prototype,
|
| + JSReceiver::GetPrototype(isolate(), target_function), JSBoundFunction);
|
|
|
| // Create the [[BoundArguments]] for the result.
|
| Handle<FixedArray> bound_arguments;
|
|
|