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

Side by Side Diff: src/compiler/code-assembler.h

Issue 2551903002: Merged: [ic] Prevent KeyedStoreIC from being generic when storing doubles to integer typed arrays. (Closed)
Patch Set: Created 4 years 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/code-stub-assembler.cc ('k') | src/compiler/code-assembler.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_CODE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ 6 #define V8_COMPILER_CODE_ASSEMBLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 V(TruncateFloat64ToFloat32) \ 143 V(TruncateFloat64ToFloat32) \
144 V(TruncateFloat64ToWord32) \ 144 V(TruncateFloat64ToWord32) \
145 V(TruncateInt64ToInt32) \ 145 V(TruncateInt64ToInt32) \
146 V(ChangeFloat32ToFloat64) \ 146 V(ChangeFloat32ToFloat64) \
147 V(ChangeFloat64ToUint32) \ 147 V(ChangeFloat64ToUint32) \
148 V(ChangeInt32ToFloat64) \ 148 V(ChangeInt32ToFloat64) \
149 V(ChangeInt32ToInt64) \ 149 V(ChangeInt32ToInt64) \
150 V(ChangeUint32ToFloat64) \ 150 V(ChangeUint32ToFloat64) \
151 V(ChangeUint32ToUint64) \ 151 V(ChangeUint32ToUint64) \
152 V(RoundFloat64ToInt32) \ 152 V(RoundFloat64ToInt32) \
153 V(RoundInt32ToFloat32) \
153 V(Float64SilenceNaN) \ 154 V(Float64SilenceNaN) \
154 V(Float64RoundDown) \ 155 V(Float64RoundDown) \
155 V(Float64RoundUp) \ 156 V(Float64RoundUp) \
157 V(Float64RoundTiesEven) \
156 V(Float64RoundTruncate) \ 158 V(Float64RoundTruncate) \
157 V(Word32Clz) \ 159 V(Word32Clz) \
158 V(Word32BinaryNot) 160 V(Word32BinaryNot)
159 161
160 // A "public" interface used by components outside of compiler directory to 162 // A "public" interface used by components outside of compiler directory to
161 // create code objects with TurboFan's backend. This class is mostly a thin shim 163 // create code objects with TurboFan's backend. This class is mostly a thin shim
162 // around the RawMachineAssembler, and its primary job is to ensure that the 164 // around the RawMachineAssembler, and its primary job is to ensure that the
163 // innards of the RawMachineAssembler and other compiler implementation details 165 // innards of the RawMachineAssembler and other compiler implementation details
164 // don't leak outside of the the compiler directory.. 166 // don't leak outside of the the compiler directory..
165 // 167 //
(...skipping 20 matching lines...) Expand all
186 CodeAssembler(Isolate* isolate, Zone* zone, int parameter_count, 188 CodeAssembler(Isolate* isolate, Zone* zone, int parameter_count,
187 Code::Flags flags, const char* name); 189 Code::Flags flags, const char* name);
188 190
189 virtual ~CodeAssembler(); 191 virtual ~CodeAssembler();
190 192
191 Handle<Code> GenerateCode(); 193 Handle<Code> GenerateCode();
192 194
193 bool Is64() const; 195 bool Is64() const;
194 bool IsFloat64RoundUpSupported() const; 196 bool IsFloat64RoundUpSupported() const;
195 bool IsFloat64RoundDownSupported() const; 197 bool IsFloat64RoundDownSupported() const;
198 bool IsFloat64RoundTiesEvenSupported() const;
196 bool IsFloat64RoundTruncateSupported() const; 199 bool IsFloat64RoundTruncateSupported() const;
197 200
198 class Label; 201 class Label;
199 class Variable { 202 class Variable {
200 public: 203 public:
201 explicit Variable(CodeAssembler* assembler, MachineRepresentation rep); 204 explicit Variable(CodeAssembler* assembler, MachineRepresentation rep);
202 ~Variable(); 205 ~Variable();
203 void Bind(Node* value); 206 void Bind(Node* value);
204 Node* value() const; 207 Node* value() const;
205 MachineRepresentation rep() const; 208 MachineRepresentation rep() const;
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 // Map of variables to the list of value nodes that have been added from each 524 // Map of variables to the list of value nodes that have been added from each
522 // merge path in their order of merging. 525 // merge path in their order of merging.
523 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; 526 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_;
524 }; 527 };
525 528
526 } // namespace compiler 529 } // namespace compiler
527 } // namespace internal 530 } // namespace internal
528 } // namespace v8 531 } // namespace v8
529 532
530 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 533 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698