Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 9256e5882d41f9dda1a12c16784a24013d62e0b4..119c2eb23682deef6d71bc03674fbd0d9c405997 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -1188,10 +1188,13 @@ Handle<Code> Pipeline::GenerateCode() { |
} |
-Handle<Code> Pipeline::GenerateCodeForInterpreter( |
- Isolate* isolate, CallDescriptor* call_descriptor, Graph* graph, |
- Schedule* schedule, const char* bytecode_name) { |
- CompilationInfo info(bytecode_name, isolate, graph->zone()); |
+Handle<Code> Pipeline::GenerateCodeForCodeStub(Isolate* isolate, |
+ CallDescriptor* call_descriptor, |
+ Graph* graph, Schedule* schedule, |
+ Code::Kind kind, |
+ const char* code_stub_name) { |
+ CompilationInfo info(code_stub_name, isolate, graph->zone()); |
+ info.set_output_code_kind(kind); |
// Construct a pipeline for scheduling and code generation. |
ZonePool zone_pool; |