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

Unified Diff: src/compiler/lowering-builder.h

Issue 426233002: Land the Fan (disabled) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback, rebase and "git cl format" Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/linkage-impl.h ('k') | src/compiler/lowering-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/lowering-builder.h
diff --git a/src/compiler/lowering-builder.h b/src/compiler/lowering-builder.h
new file mode 100644
index 0000000000000000000000000000000000000000..aeaaaacfd97efcf4cae147b2b66d20cfe0d9b703
--- /dev/null
+++ b/src/compiler/lowering-builder.h
@@ -0,0 +1,38 @@
+// Copyright 2014 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef V8_COMPILER_LOWERING_BUILDER_H_
+#define V8_COMPILER_LOWERING_BUILDER_H_
+
+#include "src/v8.h"
+
+#include "src/compiler/graph.h"
+
+
+namespace v8 {
+namespace internal {
+namespace compiler {
+
+// TODO(dcarney): rename this class.
+class LoweringBuilder {
+ public:
+ explicit LoweringBuilder(Graph* graph, SourcePositionTable* source_positions);
+ virtual ~LoweringBuilder() {}
+
+ void LowerAllNodes();
+ virtual void Lower(Node* node) = 0; // Exposed for testing.
+
+ Graph* graph() const { return graph_; }
+
+ private:
+ class NodeVisitor;
+ Graph* graph_;
+ SourcePositionTable* source_positions_;
+};
+
+} // namespace compiler
+} // namespace internal
+} // namespace v8
+
+#endif // V8_COMPILER_LOWERING_BUILDER_H_
« no previous file with comments | « src/compiler/linkage-impl.h ('k') | src/compiler/lowering-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698