| Index: src/ic/handler-compiler.cc
|
| diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc
|
| index 22135735f32fdca0639856c2d0a20563612d4da4..e4ae2ffd2d5330043d8e520d56781f23f2928de7 100644
|
| --- a/src/ic/handler-compiler.cc
|
| +++ b/src/ic/handler-compiler.cc
|
| @@ -106,7 +106,7 @@ Register NamedLoadHandlerCompiler::FrontendHeader(Register object_reg,
|
|
|
| if (check_type == CHECK_ALL_MAPS) {
|
| GenerateDirectLoadGlobalFunctionPrototype(masm(), function_index,
|
| - scratch1(), miss);
|
| + scratch1(), scratch2(), miss);
|
| Object* function = isolate()->native_context()->get(function_index);
|
| Object* prototype = JSFunction::cast(function)->instance_prototype();
|
| set_type_for_object(handle(prototype, isolate()));
|
|
|