Index: src/ic/handler-compiler.cc |
diff --git a/src/ic/handler-compiler.cc b/src/ic/handler-compiler.cc |
index b39a1725b77e7d479617685e0d318c7297a9e680..8482422f84623aa4ef354af4a66c0837839601ec 100644 |
--- a/src/ic/handler-compiler.cc |
+++ b/src/ic/handler-compiler.cc |
@@ -442,9 +442,11 @@ Handle<Code> NamedStoreHandlerCompiler::CompileStoreField(LookupIterator* it) { |
Handle<Code> NamedStoreHandlerCompiler::CompileStoreViaSetter( |
- Handle<JSObject> object, Handle<Name> name, Handle<JSFunction> setter) { |
- Frontend(name); |
- GenerateStoreViaSetter(masm(), type(), receiver(), setter); |
+ Handle<JSObject> object, Handle<Name> name, int accessor_index, |
+ int expected_arguments) { |
+ Register holder = Frontend(name); |
+ GenerateStoreViaSetter(masm(), type(), receiver(), holder, accessor_index, |
+ expected_arguments); |
return GetCode(kind(), Code::FAST, name); |
} |