Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index bdddfd35465f9d781c232b5fb5ab38604ccaf17b..355c47213ad35835e34073a4b95dc95fc87a327e 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1332,7 +1332,7 @@ MaybeHandle<JSArray> Compiler::CompileForLiveEdit(Handle<Script> script) { |
} |
bool Compiler::EnsureBytecode(CompilationInfo* info) { |
- DCHECK(ShouldUseIgnition(info)); |
+ if (!ShouldUseIgnition(info)) return false; |
if (!info->shared_info()->HasBytecodeArray()) { |
Handle<Code> original_code(info->shared_info()->code()); |
if (GetUnoptimizedCode(info).is_null()) return false; |