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

Unified Diff: src/interpreter/interpreter.cc

Issue 2443923002: [interpreter] Ensure --debug-code works with snapshots. (Closed)
Patch Set: Created 4 years, 2 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/interpreter/interpreter.cc
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
index 1ac342d62b1a4186d5f5643e803d27101abb5a91..69411deea0942dc3a4ed6b1bd3c6315460d1e288 100644
--- a/src/interpreter/interpreter.cc
+++ b/src/interpreter/interpreter.cc
@@ -214,9 +214,10 @@ CompilationJob* Interpreter::NewCompilationJob(CompilationInfo* info) {
bool Interpreter::IsDispatchTableInitialized() {
if (FLAG_trace_ignition || FLAG_trace_ignition_codegen ||
- FLAG_trace_ignition_dispatches) {
+ FLAG_trace_ignition_dispatches || FLAG_debug_code) {
rmcilroy 2016/10/24 13:46:54 While you are here, there is a bug that GetBytecod
Michael Starzinger 2016/10/25 09:46:12 Done. Actually one of the try-bots ran into this b
// Regenerate table to add bytecode tracing operations, print the assembly
- // code generated by TurboFan or instrument handlers with dispatch counters.
+ // code generated by TurboFan, instrument handlers with dispatch counters,
+ // or insert debugging code into the bytecode handlers.
return false;
}
return dispatch_table_[0] != nullptr;
« 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