Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: src/compiler.cc

Issue 1255153002: Debugger: do not reject data parsed in the background when debugging. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fix
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698