Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 9a87ac57d6552d01df1d994fe33133cbbffd4288..f8b3821c5d1b70bcecc4d61e0594f822a473ebd4 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -220,7 +220,7 @@ MaybeObject* JSObject::GetPropertyWithCallback(Object* receiver, |
if (structure->IsForeign()) { |
AccessorDescriptor* callback = |
reinterpret_cast<AccessorDescriptor*>( |
- Foreign::cast(structure)->address()); |
+ Foreign::cast(structure)->foreign_address()); |
MaybeObject* value = (callback->getter)(receiver, callback->data); |
RETURN_IF_SCHEDULED_EXCEPTION(isolate); |
return value; |
@@ -2006,7 +2006,7 @@ MaybeObject* JSObject::SetPropertyWithCallback(Object* structure, |
if (structure->IsForeign()) { |
AccessorDescriptor* callback = |
reinterpret_cast<AccessorDescriptor*>( |
- Foreign::cast(structure)->address()); |
+ Foreign::cast(structure)->foreign_address()); |
MaybeObject* obj = (callback->setter)(this, value, callback->data); |
RETURN_IF_SCHEDULED_EXCEPTION(isolate); |
if (obj->IsFailure()) return obj; |