Index: src/stub-cache.cc |
diff --git a/src/stub-cache.cc b/src/stub-cache.cc |
index c5ae1759123b27d6f6426a5c6d5a7e3dbce7d27c..9adf3cb6a028b9408de7aa3b1049164eafdadfa4 100644 |
--- a/src/stub-cache.cc |
+++ b/src/stub-cache.cc |
@@ -523,6 +523,7 @@ Handle<Code> StubCache::ComputeStoreCallback(Handle<String> name, |
Handle<Code> StubCache::ComputeStoreViaSetter(Handle<String> name, |
Handle<JSObject> receiver, |
+ Handle<JSObject> holder, |
Handle<JSFunction> setter, |
StrictModeFlag strict_mode) { |
Code::Flags flags = Code::ComputeMonomorphicFlags( |
@@ -531,7 +532,8 @@ Handle<Code> StubCache::ComputeStoreViaSetter(Handle<String> name, |
if (probe->IsCode()) return Handle<Code>::cast(probe); |
StoreStubCompiler compiler(isolate_, strict_mode); |
- Handle<Code> code = compiler.CompileStoreViaSetter(receiver, setter, name); |
+ Handle<Code> code = |
+ compiler.CompileStoreViaSetter(name, receiver, holder, setter); |
PROFILE(isolate_, CodeCreateEvent(Logger::STORE_IC_TAG, *code, *name)); |
GDBJIT(AddCode(GDBJITInterface::STORE_IC, *name, *code)); |
JSObject::UpdateMapCodeCache(receiver, name, code); |