Index: src/ic/arm64/handler-compiler-arm64.cc |
diff --git a/src/ic/arm64/handler-compiler-arm64.cc b/src/ic/arm64/handler-compiler-arm64.cc |
index 3a6d156943aa8f4e1f23224ffccd2ca81608aa01..df0022b22ca2d136e4bd3a86096956e0abcbb698 100644 |
--- a/src/ic/arm64/handler-compiler-arm64.cc |
+++ b/src/ic/arm64/handler-compiler-arm64.cc |
@@ -739,8 +739,7 @@ void NamedLoadHandlerCompiler::GenerateLoadInterceptor(Register holder_reg) { |
Handle<Code> NamedStoreHandlerCompiler::CompileStoreCallback( |
- Handle<JSObject> object, Handle<Name> name, |
- Handle<ExecutableAccessorInfo> callback) { |
+ Handle<JSObject> object, Handle<Name> name, int accessor_index) { |
ASM_LOCATION("NamedStoreHandlerCompiler::CompileStoreCallback"); |
Register holder_reg = Frontend(name); |
@@ -750,7 +749,7 @@ Handle<Code> NamedStoreHandlerCompiler::CompileStoreCallback( |
// receiver() and holder_reg can alias. |
DCHECK(!AreAliased(receiver(), scratch1(), scratch2(), value())); |
DCHECK(!AreAliased(holder_reg, scratch1(), scratch2(), value())); |
- __ Mov(scratch1(), Operand(callback)); |
+ __ Mov(scratch1(), Operand(Smi::FromInt(accessor_index))); |
__ Mov(scratch2(), Operand(name)); |
__ Push(receiver(), holder_reg, scratch1(), scratch2(), value()); |