Index: src/compiler/interpreter-assembler.cc |
diff --git a/src/compiler/interpreter-assembler.cc b/src/compiler/interpreter-assembler.cc |
index 47e014ba3992b3aa2e1b1ce4b191b0f76b15930c..a20722cd6590a671ff476d88e7309c3984e4d889 100644 |
--- a/src/compiler/interpreter-assembler.cc |
+++ b/src/compiler/interpreter-assembler.cc |
@@ -45,9 +45,9 @@ Handle<Code> InterpreterAssembler::GenerateCode() { |
End(); |
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_); |
#ifdef ENABLE_DISASSEMBLER |
if (FLAG_trace_ignition_codegen) { |