Index: src/compiler/interpreter-assembler.cc |
diff --git a/src/compiler/interpreter-assembler.cc b/src/compiler/interpreter-assembler.cc |
index b61159e77ca6ccf75fafc904fb90efe897182ed8..56a108a3ed32d42b0bc989bd9e0a98463f94edf6 100644 |
--- a/src/compiler/interpreter-assembler.cc |
+++ b/src/compiler/interpreter-assembler.cc |
@@ -51,9 +51,9 @@ Handle<Code> InterpreterAssembler::GenerateCode() { |
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::GenerateCodeForInterpreter( |
+ Handle<Code> code = Pipeline::GenerateCodeForCodeStub( |
isolate(), raw_assembler_->call_descriptor(), graph(), schedule, |
- bytecode_name); |
+ Code::STUB, bytecode_name); |
#ifdef ENABLE_DISASSEMBLER |
if (FLAG_trace_ignition_codegen) { |