Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index 89621cb3694ad63288f5b1f9556326da5e02dcc5..0b745c4505fc2fa40b32bc472eb2f405f4eefed5 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -792,7 +792,7 @@ class ElementsAccessorBase : public ElementsAccessor { |
FixedArray* to, |
FixedArrayBase* from) { |
int len0 = to->length(); |
-#ifdef DEBUG |
+#ifdef ENABLE_SLOW_ASSERTS |
if (FLAG_enable_slow_asserts) { |
for (int i = 0; i < len0; i++) { |
ASSERT(!to->get(i)->IsTheHole()); |