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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 template <typename Phase> | 61 template <typename Phase> |
62 void Run(); | 62 void Run(); |
63 template <typename Phase, typename Arg0> | 63 template <typename Phase, typename Arg0> |
64 void Run(Arg0 arg_0); | 64 void Run(Arg0 arg_0); |
65 | 65 |
66 CompilationInfo* info() const { return info_; } | 66 CompilationInfo* info() const { return info_; } |
67 Isolate* isolate() { return info_->isolate(); } | 67 Isolate* isolate() { return info_->isolate(); } |
68 | 68 |
69 void BeginPhaseKind(const char* phase_kind); | 69 void BeginPhaseKind(const char* phase_kind); |
70 void RunPrintAndVerify(const char* phase, bool untyped = false); | 70 void RunPrintAndVerify(const char* phase, bool untyped = false); |
71 void GenerateCode(Linkage* linkage); | 71 Handle<Code> ScheduleAndGenerateCode(CallDescriptor* call_descriptor); |
72 void AllocateRegisters(const RegisterConfiguration* config, | 72 void AllocateRegisters(const RegisterConfiguration* config, |
73 bool run_verifier); | 73 bool run_verifier); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace compiler | 76 } // namespace compiler |
77 } // namespace internal | 77 } // namespace internal |
78 } // namespace v8 | 78 } // namespace v8 |
79 | 79 |
80 #endif // V8_COMPILER_PIPELINE_H_ | 80 #endif // V8_COMPILER_PIPELINE_H_ |
OLD | NEW |