Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 9bcbf01c9e8c935d943f8791649c15f1c79f0af9..879b9b74ef1e1e85f63880c4038275752b6f42d5 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -2228,7 +2228,7 @@ Handle<JSFunction> Factory::CreateApiFunction( |
// Install accumulated static accessors |
for (int i = 0; i < valid_descriptors; i++) { |
Handle<AccessorInfo> accessor(AccessorInfo::cast(array->get(i))); |
- JSObject::SetAccessor(result, accessor); |
+ JSObject::SetAccessor(result, accessor).Assert(); |
} |
ASSERT(result->shared()->IsApiFunction()); |