Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 227bef538fafff8487362d8ff4af26aaba6ff7a4..3ca687bbf44e0bd123d28a65e30dd65338c955d2 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -137,7 +137,7 @@ bool Interpreter::MakeBytecode(CompilationInfo* info) { |
TimerEventScope<TimerEventCompileIgnition> timer(info->isolate()); |
TRACE_EVENT0("v8", "V8.CompileIgnition"); |
- if (FLAG_print_bytecode || FLAG_print_source || FLAG_print_ast) { |
+ if (FLAG_print_bytecode || FLAG_print_ast) { |
OFStream os(stdout); |
base::SmartArrayPointer<char> name = info->GetDebugName(); |
os << "[generating bytecode for function: " << info->GetDebugName().get() |
@@ -146,14 +146,6 @@ bool Interpreter::MakeBytecode(CompilationInfo* info) { |
} |
#ifdef DEBUG |
- if (info->parse_info() && FLAG_print_source) { |
- OFStream os(stdout); |
- os << "--- Source from AST ---" << std::endl |
- << PrettyPrinter(info->isolate()).PrintProgram(info->literal()) |
- << std::endl |
- << std::flush; |
- } |
- |
if (info->parse_info() && FLAG_print_ast) { |
OFStream os(stdout); |
os << "--- AST ---" << std::endl |