Index: src/x64/stub-cache-x64.cc |
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc |
index 78998fa3b0225ecbff6e0e9d7eaf32d08fbed2ed..31b4998a0f93203d72a19d87734d33669004b7b6 100644 |
--- a/src/x64/stub-cache-x64.cc |
+++ b/src/x64/stub-cache-x64.cc |
@@ -1043,14 +1043,15 @@ void StubCompiler::GenerateLoadField(Handle<JSObject> object, |
} |
-void StubCompiler::GenerateDictionaryLoadCallback(Register receiver, |
- Register name_reg, |
- Register scratch1, |
- Register scratch2, |
- Register scratch3, |
- Handle<AccessorInfo> callback, |
- Handle<String> name, |
- Label* miss) { |
+void StubCompiler::GenerateDictionaryLoadCallback( |
+ Register receiver, |
+ Register name_reg, |
+ Register scratch1, |
+ Register scratch2, |
+ Register scratch3, |
+ Handle<ExecutableAccessorInfo> callback, |
+ Handle<String> name, |
+ Label* miss) { |
ASSERT(!receiver.is(scratch1)); |
ASSERT(!receiver.is(scratch2)); |
ASSERT(!receiver.is(scratch3)); |
@@ -1094,7 +1095,7 @@ void StubCompiler::GenerateLoadCallback(Handle<JSObject> object, |
Register scratch2, |
Register scratch3, |
Register scratch4, |
- Handle<AccessorInfo> callback, |
+ Handle<ExecutableAccessorInfo> callback, |
Handle<String> name, |
Label* miss) { |
// Check that the receiver isn't a smi. |
@@ -1117,7 +1118,7 @@ void StubCompiler::GenerateLoadCallback(Handle<JSObject> object, |
__ push(reg); // holder |
if (heap()->InNewSpace(callback->data())) { |
__ Move(scratch1, callback); |
- __ push(FieldOperand(scratch1, AccessorInfo::kDataOffset)); // data |
+ __ push(FieldOperand(scratch1, ExecutableAccessorInfo::kDataOffset)); |
} else { |
__ Push(Handle<Object>(callback->data())); |
} |
@@ -1209,8 +1210,9 @@ void StubCompiler::GenerateLoadInterceptor(Handle<JSObject> object, |
if (lookup->IsField()) { |
compile_followup_inline = true; |
} else if (lookup->type() == CALLBACKS && |
- lookup->GetCallbackObject()->IsAccessorInfo()) { |
- AccessorInfo* callback = AccessorInfo::cast(lookup->GetCallbackObject()); |
+ lookup->GetCallbackObject()->IsExecutableAccessorInfo()) { |
+ ExecutableAccessorInfo* callback = |
+ ExecutableAccessorInfo::cast(lookup->GetCallbackObject()); |
compile_followup_inline = callback->getter() != NULL && |
callback->IsCompatibleReceiver(*object); |
} |
@@ -1295,8 +1297,8 @@ void StubCompiler::GenerateLoadInterceptor(Handle<JSObject> object, |
// We found CALLBACKS property in prototype chain of interceptor's |
// holder. |
ASSERT(lookup->type() == CALLBACKS); |
- Handle<AccessorInfo> callback( |
- AccessorInfo::cast(lookup->GetCallbackObject())); |
+ Handle<ExecutableAccessorInfo> callback( |
+ ExecutableAccessorInfo::cast(lookup->GetCallbackObject())); |
ASSERT(callback->getter() != NULL); |
// Tail call to runtime. |
@@ -1306,7 +1308,7 @@ void StubCompiler::GenerateLoadInterceptor(Handle<JSObject> object, |
__ push(receiver); |
__ push(holder_reg); |
__ Move(holder_reg, callback); |
- __ push(FieldOperand(holder_reg, AccessorInfo::kDataOffset)); |
+ __ push(FieldOperand(holder_reg, ExecutableAccessorInfo::kDataOffset)); |
__ PushAddress(ExternalReference::isolate_address()); |
__ push(holder_reg); |
__ push(name_reg); |
@@ -2481,7 +2483,7 @@ Handle<Code> StoreStubCompiler::CompileStoreCallback( |
Handle<String> name, |
Handle<JSObject> receiver, |
Handle<JSObject> holder, |
- Handle<AccessorInfo> callback) { |
+ Handle<ExecutableAccessorInfo> callback) { |
// ----------- S t a t e ------------- |
// -- rax : value |
// -- rcx : name |