Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 29e5a653400bb28e3d52b8eb9a7c511ca4b534ef..9b115848d240ce72856b0f8dee433578b0a0a2b5 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1125,8 +1125,7 @@ static i::Handle<i::AccessorInfo> MakeAccessorInfo( |
v8::AccessControl settings, v8::PropertyAttribute attributes, |
v8::Local<AccessorSignature> signature) { |
i::Isolate* isolate = Utils::OpenHandle(*name)->GetIsolate(); |
- i::Handle<i::ExecutableAccessorInfo> obj = |
- isolate->factory()->NewExecutableAccessorInfo(); |
+ i::Handle<i::AccessorInfo> obj = isolate->factory()->NewAccessorInfo(); |
SET_FIELD_WRAPPED(obj, set_getter, getter); |
SET_FIELD_WRAPPED(obj, set_setter, setter); |
if (data.IsEmpty()) { |