Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 55415fe14f515b6d1aa2464eda7f1b910bf2dae5..81bffc5ac49a79924e5083833f7e934d8894d945 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1327,8 +1327,8 @@ Handle<SharedFunctionInfo> Compiler::CompileStreamedScript( |
CompilationInfo compile_info(parse_info); |
- // If compiling for debugging, parse eagerly from scratch. |
- if (compile_info.is_debug()) parse_info->set_literal(NULL); |
+ // The source was parsed lazily, so compiling for debugging is not possible. |
+ DCHECK(!compile_info.is_debug()); |
return CompileToplevel(&compile_info); |
} |