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

Side by Side Diff: src/compiler/simplified-operator.h

Issue 680313003: Move input/output counts directly into Operators, simplying OperatorProperties. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: yes Created 6 years, 1 month 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/simplified-lowering.cc ('k') | src/compiler/simplified-operator.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_SIMPLIFIED_OPERATOR_H_ 5 #ifndef V8_COMPILER_SIMPLIFIED_OPERATOR_H_
6 #define V8_COMPILER_SIMPLIFIED_OPERATOR_H_ 6 #define V8_COMPILER_SIMPLIFIED_OPERATOR_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/compiler/machine-type.h" 10 #include "src/compiler/machine-type.h"
11 #include "src/handles.h" 11 #include "src/handles.h"
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 15
16 // Forward declarations. 16 // Forward declarations.
17 template <class> 17 template <class>
18 class TypeImpl; 18 class TypeImpl;
19 struct ZoneTypeConfig; 19 struct ZoneTypeConfig;
20 typedef TypeImpl<ZoneTypeConfig> Type; 20 typedef TypeImpl<ZoneTypeConfig> Type;
21 class Zone; 21 class Zone;
22 22
23 23
24 namespace compiler { 24 namespace compiler {
25 25
26 // Forward declarations. 26 // Forward declarations.
27 class Operator; 27 class Operator;
28 struct SimplifiedOperatorBuilderImpl; 28 struct SimplifiedOperatorGlobalCache;
29 29
30 30
31 enum BaseTaggedness { kUntaggedBase, kTaggedBase }; 31 enum BaseTaggedness { kUntaggedBase, kTaggedBase };
32 32
33 std::ostream& operator<<(std::ostream&, BaseTaggedness); 33 std::ostream& operator<<(std::ostream&, BaseTaggedness);
34 34
35 35
36 // An access descriptor for loads/stores of fixed structures like field 36 // An access descriptor for loads/stores of fixed structures like field
37 // accesses of heap objects. Accesses from either tagged or untagged base 37 // accesses of heap objects. Accesses from either tagged or untagged base
38 // pointers are supported; untagging is done automatically during lowering. 38 // pointers are supported; untagging is done automatically during lowering.
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 // load-element [base + index], length 155 // load-element [base + index], length
156 const Operator* LoadElement(ElementAccess const&); 156 const Operator* LoadElement(ElementAccess const&);
157 157
158 // store-element [base + index], length, value 158 // store-element [base + index], length, value
159 const Operator* StoreElement(ElementAccess const&); 159 const Operator* StoreElement(ElementAccess const&);
160 160
161 private: 161 private:
162 Zone* zone() const { return zone_; } 162 Zone* zone() const { return zone_; }
163 163
164 const SimplifiedOperatorBuilderImpl& impl_; 164 const SimplifiedOperatorGlobalCache& cache_;
165 Zone* const zone_; 165 Zone* const zone_;
166 166
167 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); 167 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder);
168 }; 168 };
169 169
170 } // namespace compiler 170 } // namespace compiler
171 } // namespace internal 171 } // namespace internal
172 } // namespace v8 172 } // namespace v8
173 173
174 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ 174 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | src/compiler/simplified-operator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698