OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_COMPILER_PIPELINE_H_ | 5 #ifndef V8_COMPILER_PIPELINE_H_ |
6 #define V8_COMPILER_PIPELINE_H_ | 6 #define V8_COMPILER_PIPELINE_H_ |
7 | 7 |
8 // Clients of this interface shouldn't depend on lots of compiler internals. | 8 // Clients of this interface shouldn't depend on lots of compiler internals. |
9 // Do not include anything from src/compiler here! | 9 // Do not include anything from src/compiler here! |
10 #include "src/compiler.h" | 10 #include "src/compiler.h" |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 template <typename Phase, typename Arg0> | 60 template <typename Phase, typename Arg0> |
61 void Run(Arg0 arg_0); | 61 void Run(Arg0 arg_0); |
62 | 62 |
63 CompilationInfo* info() const { return info_; } | 63 CompilationInfo* info() const { return info_; } |
64 Isolate* isolate() { return info_->isolate(); } | 64 Isolate* isolate() { return info_->isolate(); } |
65 | 65 |
66 void BeginPhaseKind(const char* phase_kind); | 66 void BeginPhaseKind(const char* phase_kind); |
67 void RunPrintAndVerify(const char* phase, bool untyped = false); | 67 void RunPrintAndVerify(const char* phase, bool untyped = false); |
68 Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor); | 68 Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor); |
69 void AllocateRegisters(const RegisterConfiguration* config, | 69 void AllocateRegisters(const RegisterConfiguration* config, |
70 bool run_verifier); | 70 CallDescriptor* descriptor, bool run_verifier); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace compiler | 73 } // namespace compiler |
74 } // namespace internal | 74 } // namespace internal |
75 } // namespace v8 | 75 } // namespace v8 |
76 | 76 |
77 #endif // V8_COMPILER_PIPELINE_H_ | 77 #endif // V8_COMPILER_PIPELINE_H_ |
OLD | NEW |