Index: src/interpreter/constant-array-builder.h |
diff --git a/src/interpreter/constant-array-builder.h b/src/interpreter/constant-array-builder.h |
index 8e95913e57792b445e7039465d99c82e1ee1b5bb..c99c8e7c59969343173c5f38f152154926575177 100644 |
--- a/src/interpreter/constant-array-builder.h |
+++ b/src/interpreter/constant-array-builder.h |
@@ -82,7 +82,10 @@ class V8_EXPORT_PRIVATE ConstantArrayBuilder final BASE_EMBEDDED { |
size_t Allocate(Handle<Object> object); |
Handle<Object> At(size_t index) const; |
void InsertAt(size_t index, Handle<Object> object); |
- bool AllElementsAreUnique() const; |
+ |
+#if DEBUG |
+ void CheckAllElementsAreUnique() const; |
+#endif |
inline size_t available() const { return capacity() - reserved() - size(); } |
inline size_t reserved() const { return reserved_; } |