namespace compiler {
// Clients of this interface shouldn't depend on lots of compiler internals.
-class CallDescriptor;
class Graph;
class Schedule;
class SourcePositionTable;
Handle<Code> GenerateCodeForMachineGraph(Linkage* linkage, Graph* graph,
Schedule* schedule = NULL);
- CompilationInfo* info() const { return info_; }
- Zone* zone() { return info_->zone(); }
- Isolate* isolate() { return info_->isolate(); }
-
static inline bool SupportedBackend() { return V8_TURBOFAN_BACKEND != 0; }
static inline bool SupportedTarget() { return V8_TURBOFAN_TARGET != 0; }
- static inline bool VerifyGraphs() {
-#ifdef DEBUG
- return true;
-#else
- return FLAG_turbo_verify;
-#endif
- }
-
static void SetUp();
static void TearDown();
private:
CompilationInfo* info_;
+ CompilationInfo* info() const { return info_; }
+ Isolate* isolate() { return info_->isolate(); }
+ Zone* zone() { return info_->zone(); }
+
Schedule* ComputeSchedule(Graph* graph);
void VerifyAndPrintGraph(Graph* graph, const char* phase);
Handle<Code> GenerateCode(Linkage* linkage, Graph* graph, Schedule* schedule,