Index: src/contexts.cc |
diff --git a/src/contexts.cc b/src/contexts.cc |
index 441ef9d9c32b6a70b7af5440f1a61fc1e8310c1b..710d30aa8ec2a4138da312750667d8e7b87b3409 100644 |
--- a/src/contexts.cc |
+++ b/src/contexts.cc |
@@ -259,7 +259,7 @@ Handle<Object> Context::Lookup(Handle<String> name, |
void Context::AddOptimizedFunction(JSFunction* function) { |
ASSERT(IsNativeContext()); |
-#ifdef DEBUG |
+#ifdef ENABLE_SLOW_ASSERTS |
if (FLAG_enable_slow_asserts) { |
Object* element = get(OPTIMIZED_FUNCTIONS_LIST); |
while (!element->IsUndefined()) { |