Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 0ffb0c3c281c6482022520df4868b5e1e5b871da..bbc13a868859fb12c06d88f779974403d8f00d70 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -372,6 +372,7 @@ Handle<JSFunction> InstallGetter(Handle<JSObject> target, |
Handle<Object> setter = target->GetIsolate()->factory()->undefined_value(); |
JSObject::DefineAccessor(target, property_name, getter, setter, attributes) |
.Check(); |
+ getter->shared()->set_native(true); |
return getter; |
} |