Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index f3789822ac3e7f66480c2dc81ba3d5fbb68ae7e5..68c7cc2c45a56af009939f3cd3d0c13774eaa886 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -1237,8 +1237,8 @@ Handle<Code> LoadIC::CompileHandler(LookupIterator* lookup, |
cache_holder); |
if (call_optimization.is_simple_api_call() && |
call_optimization.IsCompatibleReceiver(receiver, holder)) { |
- return compiler.CompileLoadCallback(lookup->name(), |
- call_optimization); |
+ return compiler.CompileLoadCallback(lookup->name(), call_optimization, |
+ lookup->GetAccessorIndex()); |
} |
int expected_arguments = function->shared()->formal_parameter_count(); |
return compiler.CompileLoadViaGetter( |
@@ -1741,7 +1741,8 @@ Handle<Code> StoreIC::CompileHandler(LookupIterator* lookup, |
if (call_optimization.is_simple_api_call() && |
call_optimization.IsCompatibleReceiver(receiver, holder)) { |
return compiler.CompileStoreCallback(receiver, lookup->name(), |
- call_optimization); |
+ call_optimization, |
+ lookup->GetAccessorIndex()); |
} |
int expected_arguments = function->shared()->formal_parameter_count(); |
return compiler.CompileStoreViaSetter(receiver, lookup->name(), |