Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Side by Side Diff: src/compiler/pipeline.h

Issue 434023003: Paint the tree green for TF some more. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | test/mozilla/mozilla.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/compiler.h" 10 #include "src/compiler.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 // Run the pipeline on a machine graph and generate code. If {schedule} 44 // Run the pipeline on a machine graph and generate code. If {schedule}
45 // is {NULL}, then compute a new schedule for code generation. 45 // is {NULL}, then compute a new schedule for code generation.
46 Handle<Code> GenerateCodeForMachineGraph(Linkage* linkage, Graph* graph, 46 Handle<Code> GenerateCodeForMachineGraph(Linkage* linkage, Graph* graph,
47 Schedule* schedule = NULL); 47 Schedule* schedule = NULL);
48 48
49 CompilationInfo* info() const { return info_; } 49 CompilationInfo* info() const { return info_; }
50 Zone* zone() { return info_->zone(); } 50 Zone* zone() { return info_->zone(); }
51 Isolate* isolate() { return info_->isolate(); } 51 Isolate* isolate() { return info_->isolate(); }
52 52
53 static inline bool SupportedTarget() { return V8_TURBOFAN_TARGET != 0; } 53 static inline bool SupportedTarget() {
54 #if V8_TARGET_ARCH_ARM64
55 // TODO(turbofan): The ARM64 port is temporarily disabled.
56 return false;
57 #else
58 return V8_TURBOFAN_TARGET != 0;
59 #endif
60 }
54 61
55 static inline bool VerifyGraphs() { 62 static inline bool VerifyGraphs() {
56 #ifdef DEBUG 63 #ifdef DEBUG
57 return true; 64 return true;
58 #else 65 #else
59 return FLAG_turbo_verify; 66 return FLAG_turbo_verify;
60 #endif 67 #endif
61 } 68 }
62 69
63 private: 70 private:
64 CompilationInfo* info_; 71 CompilationInfo* info_;
65 72
66 Schedule* ComputeSchedule(Graph* graph); 73 Schedule* ComputeSchedule(Graph* graph);
67 void VerifyAndPrintGraph(Graph* graph, const char* phase); 74 void VerifyAndPrintGraph(Graph* graph, const char* phase);
68 Handle<Code> GenerateCode(Linkage* linkage, Graph* graph, Schedule* schedule, 75 Handle<Code> GenerateCode(Linkage* linkage, Graph* graph, Schedule* schedule,
69 SourcePositionTable* source_positions); 76 SourcePositionTable* source_positions);
70 }; 77 };
71 } 78 }
72 } 79 }
73 } // namespace v8::internal::compiler 80 } // namespace v8::internal::compiler
74 81
75 #endif // V8_COMPILER_PIPELINE_H_ 82 #endif // V8_COMPILER_PIPELINE_H_
OLDNEW
« no previous file with comments | « no previous file | test/mozilla/mozilla.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698