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

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

Issue 672873002: Revert "Simplify TurboFan's c1visualizer file handling." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | src/compiler/pipeline.cc » ('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 <fstream> // NOLINT(readability/streams)
9
8 #include "src/v8.h" 10 #include "src/v8.h"
9 11
10 #include "src/compiler.h" 12 #include "src/compiler.h"
11 13
12 // Note: TODO(turbofan) implies a performance improvement opportunity, 14 // Note: TODO(turbofan) implies a performance improvement opportunity,
13 // and TODO(name) implies an incomplete implementation 15 // and TODO(name) implies an incomplete implementation
14 16
15 namespace v8 { 17 namespace v8 {
16 namespace internal { 18 namespace internal {
17 namespace compiler { 19 namespace compiler {
(...skipping 26 matching lines...) Expand all
44 static void TearDown(); 46 static void TearDown();
45 47
46 private: 48 private:
47 CompilationInfo* info_; 49 CompilationInfo* info_;
48 50
49 CompilationInfo* info() const { return info_; } 51 CompilationInfo* info() const { return info_; }
50 Isolate* isolate() { return info_->isolate(); } 52 Isolate* isolate() { return info_->isolate(); }
51 Zone* zone() { return info_->zone(); } 53 Zone* zone() { return info_->zone(); }
52 54
53 Schedule* ComputeSchedule(ZonePool* zone_pool, Graph* graph); 55 Schedule* ComputeSchedule(ZonePool* zone_pool, Graph* graph);
56 void OpenTurboCfgFile(std::ofstream* stream);
57 void PrintCompilationStart();
58 void PrintScheduleAndInstructions(const char* phase, const Schedule* schedule,
59 const SourcePositionTable* positions,
60 const InstructionSequence* instructions);
61 void PrintAllocator(const char* phase, const RegisterAllocator* allocator);
54 void VerifyAndPrintGraph(Graph* graph, const char* phase, 62 void VerifyAndPrintGraph(Graph* graph, const char* phase,
55 bool untyped = false); 63 bool untyped = false);
56 Handle<Code> GenerateCode(ZonePool* zone_pool, Linkage* linkage, Graph* graph, 64 Handle<Code> GenerateCode(ZonePool* zone_pool, Linkage* linkage, Graph* graph,
57 Schedule* schedule, 65 Schedule* schedule,
58 SourcePositionTable* source_positions); 66 SourcePositionTable* source_positions);
59 }; 67 };
60 } 68 }
61 } 69 }
62 } // namespace v8::internal::compiler 70 } // namespace v8::internal::compiler
63 71
64 #endif // V8_COMPILER_PIPELINE_H_ 72 #endif // V8_COMPILER_PIPELINE_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698