| Index: src/builtins.cc
|
| diff --git a/src/builtins.cc b/src/builtins.cc
|
| index 7695ccc753f731932de907b74bced1951eace638..4a5bf7331569f0157150be800b39f416d2d85e5a 100644
|
| --- a/src/builtins.cc
|
| +++ b/src/builtins.cc
|
| @@ -1580,8 +1580,10 @@ BUILTIN(ReflectGetPrototypeOf) {
|
| isolate->factory()->NewStringFromAsciiChecked(
|
| "Reflect.getPrototypeOf")));
|
| }
|
| -
|
| - return *Object::GetPrototype(isolate, target);
|
| + Handle<Object> prototype;
|
| + ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, prototype,
|
| + Object::GetPrototype(isolate, target));
|
| + return *prototype;
|
| }
|
|
|
|
|
|
|