Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index 0a9a40fc22b88beb91a22a20ec2569ee392d8a24..2e9bc3266f17892c8f4ccf8f9db776da138a71f2 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -737,6 +737,15 @@ class ElementsAccessorBase : public ElementsAccessor { |
return NULL; |
} |
+ // TODO(ishell): Temporary wrapper until handlified. |
+ MUST_USE_RESULT virtual Handle<Object> SetLength( |
+ Handle<JSArray> array, |
+ Handle<Object> length) { |
+ CALL_HEAP_FUNCTION(array->GetIsolate(), |
+ SetLength(*array, *length), |
+ Object); |
+ } |
+ |
MUST_USE_RESULT virtual MaybeObject* SetLength(JSArray* array, |
Object* length) { |
return ElementsAccessorSubclass::SetLengthImpl( |