Index: runtime/vm/growable_array.h |
diff --git a/runtime/vm/growable_array.h b/runtime/vm/growable_array.h |
index 6f26c74c46dc6d1be7eaa69c6f3b57f50fc6c3ec..5f73008d2156edcffec234d20ca046fc4e063952 100644 |
--- a/runtime/vm/growable_array.h |
+++ b/runtime/vm/growable_array.h |
@@ -60,6 +60,10 @@ class BaseGrowableArray : public B { |
return data_[index]; |
} |
+ const T& At(intptr_t index) const { |
+ return operator[](index); |
+ } |
+ |
T& Last() const { |
ASSERT(length_ > 0); |
return operator[](length_ - 1); |