Index: src/ic/handler-compiler.cc |
diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc |
index 8482422f84623aa4ef354af4a66c0837839601ec..ce66b4efd2fe355af76764d878152c758685e4ab 100644 |
--- a/src/ic/handler-compiler.cc |
+++ b/src/ic/handler-compiler.cc |
@@ -356,7 +356,7 @@ Handle<Code> NamedLoadHandlerCompiler::CompileLoadViaGetter( |
Handle<Name> name, int accessor_index, int expected_arguments) { |
Register holder = Frontend(name); |
GenerateLoadViaGetter(masm(), type(), receiver(), holder, accessor_index, |
- expected_arguments); |
+ expected_arguments, scratch2()); |
return GetCode(kind(), Code::FAST, name); |
} |
@@ -446,7 +446,7 @@ Handle<Code> NamedStoreHandlerCompiler::CompileStoreViaSetter( |
int expected_arguments) { |
Register holder = Frontend(name); |
GenerateStoreViaSetter(masm(), type(), receiver(), holder, accessor_index, |
- expected_arguments); |
+ expected_arguments, scratch2()); |
return GetCode(kind(), Code::FAST, name); |
} |