Index: src/compiler/pipeline.h |
diff --git a/src/compiler/pipeline.h b/src/compiler/pipeline.h |
index edb8191862141604e5d0a6d52fa7eff23173c003..15c625f0cf88cc2eba278a2b8aaf36df162d60b6 100644 |
--- a/src/compiler/pipeline.h |
+++ b/src/compiler/pipeline.h |
@@ -52,10 +52,9 @@ class Pipeline { |
// Run the pipeline on a machine graph and generate code. If {schedule} is |
// {nullptr}, then compute a new schedule for code generation. |
- static Handle<Code> GenerateCodeForTesting(CompilationInfo* info, |
- CallDescriptor* call_descriptor, |
- Graph* graph, |
- Schedule* schedule = nullptr); |
+ static Handle<Code> GenerateCodeForTesting( |
+ CompilationInfo* info, const CallDescriptor* call_descriptor, |
+ Graph* graph, Schedule* schedule = nullptr); |
private: |
// Helpers for executing pipeline phases. |
@@ -68,9 +67,9 @@ class Pipeline { |
void BeginPhaseKind(const char* phase_kind); |
void RunPrintAndVerify(const char* phase, bool untyped = false); |
- Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor); |
+ Handle<Code> ScheduleAndGenerateCode(const CallDescriptor* call_descriptor); |
void AllocateRegisters(const RegisterConfiguration* config, |
- CallDescriptor* descriptor, bool run_verifier); |
+ const CallDescriptor* descriptor, bool run_verifier); |
CompilationInfo* info() const { return info_; } |
Isolate* isolate() const; |