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

Side by Side Diff: test/cctest/compiler/simplified-graph-builder.h

Issue 555283004: [turbofan] Next step towards shared operators. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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
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_CCTEST_COMPILER_SIMPLIFIED_GRAPH_BUILDER_H_ 5 #ifndef V8_CCTEST_COMPILER_SIMPLIFIED_GRAPH_BUILDER_H_
6 #define V8_CCTEST_COMPILER_SIMPLIFIED_GRAPH_BUILDER_H_ 6 #define V8_CCTEST_COMPILER_SIMPLIFIED_GRAPH_BUILDER_H_
7 7
8 #include "src/compiler/common-operator.h" 8 #include "src/compiler/common-operator.h"
9 #include "src/compiler/graph-builder.h" 9 #include "src/compiler/graph-builder.h"
10 #include "src/compiler/machine-operator.h" 10 #include "src/compiler/machine-operator.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 } 129 }
130 Node* LoadElement(const ElementAccess& access, Node* object, Node* index) { 130 Node* LoadElement(const ElementAccess& access, Node* object, Node* index) {
131 return NewNode(simplified()->LoadElement(access), object, index); 131 return NewNode(simplified()->LoadElement(access), object, index);
132 } 132 }
133 Node* StoreElement(const ElementAccess& access, Node* object, Node* index, 133 Node* StoreElement(const ElementAccess& access, Node* object, Node* index,
134 Node* value) { 134 Node* value) {
135 return NewNode(simplified()->StoreElement(access), object, index, value); 135 return NewNode(simplified()->StoreElement(access), object, index, value);
136 } 136 }
137 137
138 protected: 138 protected:
139 virtual Node* MakeNode(Operator* op, int value_input_count, 139 virtual Node* MakeNode(const Operator* op, int value_input_count,
140 Node** value_inputs); 140 Node** value_inputs) FINAL;
141 141
142 private: 142 private:
143 Node* effect_; 143 Node* effect_;
144 Node* return_; 144 Node* return_;
145 CommonOperatorBuilder* common_; 145 CommonOperatorBuilder* common_;
146 MachineOperatorBuilder* machine_; 146 MachineOperatorBuilder* machine_;
147 SimplifiedOperatorBuilder* simplified_; 147 SimplifiedOperatorBuilder* simplified_;
148 }; 148 };
149 149
150 } // namespace compiler 150 } // namespace compiler
151 } // namespace internal 151 } // namespace internal
152 } // namespace v8 152 } // namespace v8
153 153
154 #endif // V8_CCTEST_COMPILER_SIMPLIFIED_GRAPH_BUILDER_H_ 154 #endif // V8_CCTEST_COMPILER_SIMPLIFIED_GRAPH_BUILDER_H_
OLDNEW
« no previous file with comments | « test/cctest/compiler/graph-builder-tester.h ('k') | test/cctest/compiler/simplified-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698