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

Side by Side Diff: src/compiler/lowering-builder.h

Issue 476733002: Deprecte LoweringBuilder in favor of Reducer. (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 | « src/compiler/js-typed-lowering.h ('k') | src/compiler/lowering-builder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef V8_COMPILER_LOWERING_BUILDER_H_
6 #define V8_COMPILER_LOWERING_BUILDER_H_
7
8 #include "src/v8.h"
9
10 #include "src/compiler/graph.h"
11
12
13 namespace v8 {
14 namespace internal {
15 namespace compiler {
16
17 // TODO(dcarney): rename this class.
18 class LoweringBuilder {
19 public:
20 explicit LoweringBuilder(Graph* graph, SourcePositionTable* source_positions);
21 virtual ~LoweringBuilder() {}
22
23 void LowerAllNodes();
24 virtual void Lower(Node* node) = 0; // Exposed for testing.
25
26 Graph* graph() const { return graph_; }
27
28 private:
29 class NodeVisitor;
30 Graph* graph_;
31 SourcePositionTable* source_positions_;
32 };
33
34 } // namespace compiler
35 } // namespace internal
36 } // namespace v8
37
38 #endif // V8_COMPILER_LOWERING_BUILDER_H_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.h ('k') | src/compiler/lowering-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698