Chromium Code Reviews| Index: src/runtime/runtime-debug.cc |
| diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
| index 27216fb323cdef04e6492f753bdc4d68c2ce2ad7..83a7dc5839849f3ce6ec41d936455d09c140dc27 100644 |
| --- a/src/runtime/runtime-debug.cc |
| +++ b/src/runtime/runtime-debug.cc |
| @@ -1449,7 +1449,10 @@ RUNTIME_FUNCTION(Runtime_DebugGetPrototype) { |
| HandleScope shs(isolate); |
| DCHECK(args.length() == 1); |
| CONVERT_ARG_HANDLE_CHECKED(JSObject, obj, 0); |
| - return *Object::GetPrototype(isolate, obj); |
| + Handle<Object> prototype; |
| + ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, prototype, |
|
Jakob Kummerow
2015/11/12 12:04:24
Yeah, I think this is going to cause trouble, beca
Camillo Bruni
2015/11/12 20:20:55
added.
|
| + Object::GetPrototype(isolate, obj)); |
| + return *prototype; |
| } |