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

Side by Side Diff: src/crankshaft/hydrogen.h

Issue 1872833002: [compiler] Move tracing from backends to compiler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-compiler-simplify-5
Patch Set: Rebased. Created 4 years, 8 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
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/crankshaft/hydrogen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_CRANKSHAFT_HYDROGEN_H_ 5 #ifndef V8_CRANKSHAFT_HYDROGEN_H_
6 #define V8_CRANKSHAFT_HYDROGEN_H_ 6 #define V8_CRANKSHAFT_HYDROGEN_H_
7 7
8 #include "src/accessors.h" 8 #include "src/accessors.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/ast/ast.h" 10 #include "src/ast/ast.h"
(...skipping 15 matching lines...) Expand all
26 class HLoopInformation; 26 class HLoopInformation;
27 class HOsrBuilder; 27 class HOsrBuilder;
28 class HTracer; 28 class HTracer;
29 class LAllocator; 29 class LAllocator;
30 class LChunk; 30 class LChunk;
31 class LiveRange; 31 class LiveRange;
32 32
33 class HCompilationJob final : public OptimizedCompileJob { 33 class HCompilationJob final : public OptimizedCompileJob {
34 public: 34 public:
35 explicit HCompilationJob(CompilationInfo* info) 35 explicit HCompilationJob(CompilationInfo* info)
36 : OptimizedCompileJob(info), graph_(nullptr), chunk_(nullptr) {} 36 : OptimizedCompileJob(info, "Crankshaft"),
37 graph_(nullptr),
38 chunk_(nullptr) {}
37 39
38 protected: 40 protected:
39 virtual Status CreateGraphImpl(); 41 virtual Status CreateGraphImpl();
40 virtual Status OptimizeGraphImpl(); 42 virtual Status OptimizeGraphImpl();
41 virtual Status GenerateCodeImpl(); 43 virtual Status GenerateCodeImpl();
42 44
43 private: 45 private:
44 HGraph* graph_; 46 HGraph* graph_;
45 LChunk* chunk_; 47 LChunk* chunk_;
46 }; 48 };
(...skipping 3055 matching lines...) Expand 10 before | Expand all | Expand 10 after
3102 } 3104 }
3103 3105
3104 private: 3106 private:
3105 HOptimizedGraphBuilder* builder_; 3107 HOptimizedGraphBuilder* builder_;
3106 }; 3108 };
3107 3109
3108 } // namespace internal 3110 } // namespace internal
3109 } // namespace v8 3111 } // namespace v8
3110 3112
3111 #endif // V8_CRANKSHAFT_HYDROGEN_H_ 3113 #endif // V8_CRANKSHAFT_HYDROGEN_H_
OLDNEW
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/crankshaft/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698