Index: src/accessors.cc |
diff --git a/src/accessors.cc b/src/accessors.cc |
index 43d54fe47482846303ec46d03d3b5e2126a7dfeb..45074369f9b9cc0891cfa69d2465f49a75923ac2 100644 |
--- a/src/accessors.cc |
+++ b/src/accessors.cc |
@@ -126,8 +126,8 @@ MaybeObject* Accessors::ArraySetLength(JSObject* object, Object* value, void*) { |
// This means one of the object's prototypes is a JSArray and |
// the object does not have a 'length' property. |
// Calling SetProperty causes an infinite loop. |
- return object->IgnoreAttributesAndSetLocalProperty(Heap::length_symbol(), |
- value, NONE); |
+ return object->SetLocalPropertyIgnoreAttributes(Heap::length_symbol(), |
+ value, NONE); |
} |
} |
return Top::Throw(*Factory::NewRangeError("invalid_array_length", |