Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index d3d472d79947cd208684db88d98cc633a551f48c..d3539627e8e1153408931b4ac18a1b64aa8414a6 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1106,7 +1106,8 @@ static i::Handle<i::AccessorInfo> MakeAccessorInfo( |
v8::AccessControl settings, |
v8::PropertyAttribute attributes, |
v8::Handle<AccessorSignature> signature) { |
- i::Handle<i::AccessorInfo> obj = FACTORY->NewAccessorInfo(); |
+ i::Handle<i::ExecutableAccessorInfo> obj = |
+ FACTORY->NewExecutableAccessorInfo(); |
SET_FIELD_WRAPPED(obj, set_getter, getter); |
SET_FIELD_WRAPPED(obj, set_setter, setter); |
if (data.IsEmpty()) data = v8::Undefined(); |