Index: src/compiler/interpreter-assembler.cc |
diff --git a/src/compiler/interpreter-assembler.cc b/src/compiler/interpreter-assembler.cc |
index 47e014ba3992b3aa2e1b1ce4b191b0f76b15930c..8c2de42aa5297e7481c64f3a7ffbd89eedc96324 100644 |
--- a/src/compiler/interpreter-assembler.cc |
+++ b/src/compiler/interpreter-assembler.cc |
@@ -44,15 +44,17 @@ Handle<Code> InterpreterAssembler::GenerateCode() { |
End(); |
+ const char* bytecode_name = interpreter::Bytecodes::ToString(bytecode_); |
Schedule* schedule = raw_assembler_->Export(); |
// TODO(rmcilroy): use a non-testing code generator. |
- Handle<Code> code = Pipeline::GenerateCodeForTesting( |
- isolate(), raw_assembler_->call_descriptor(), graph(), schedule); |
+ Handle<Code> code = Pipeline::GenerateCodeForInterpreter( |
+ isolate(), raw_assembler_->call_descriptor(), graph(), schedule, |
+ bytecode_name); |
#ifdef ENABLE_DISASSEMBLER |
if (FLAG_trace_ignition_codegen) { |
OFStream os(stdout); |
- code->Disassemble(interpreter::Bytecodes::ToString(bytecode_), os); |
+ code->Disassemble(bytecode_name, os); |
os << std::flush; |
} |
#endif |