Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index aff7f48513a26e01cbc513fe9bc70ad2c106154d..32120df9e304e31a6115dc507180a9ccd12248de 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1727,8 +1727,8 @@ Handle<SharedFunctionInfo> Compiler::GetSharedFunctionInfo( |
// On the first compile, there are no existing shared function info for |
// inner functions yet, so do not try to find them. All bets are off for |
// live edit though. |
- DCHECK(script->FindSharedFunctionInfo(literal).is_null() || |
- isolate->debug()->live_edit_enabled()); |
+ SLOW_DCHECK(script->FindSharedFunctionInfo(literal).is_null() || |
+ isolate->debug()->live_edit_enabled()); |
} else { |
maybe_existing = script->FindSharedFunctionInfo(literal); |
} |