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

Side by Side Diff: src/compiler/opcodes.h

Issue 2139183002: [turbofan] Unify BooleanToNumber, StringToNumber and PlainPrimitiveToNumber. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/simplified-lowering.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_OPCODES_H_ 5 #ifndef V8_COMPILER_OPCODES_H_
6 #define V8_COMPILER_OPCODES_H_ 6 #define V8_COMPILER_OPCODES_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 // Opcodes for control operators. 10 // Opcodes for control operators.
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 V(ReferenceEqual) \ 194 V(ReferenceEqual) \
195 V(StringEqual) \ 195 V(StringEqual) \
196 V(StringLessThan) \ 196 V(StringLessThan) \
197 V(StringLessThanOrEqual) 197 V(StringLessThanOrEqual)
198 198
199 #define SIMPLIFIED_OTHER_OP_LIST(V) \ 199 #define SIMPLIFIED_OTHER_OP_LIST(V) \
200 V(PlainPrimitiveToNumber) \ 200 V(PlainPrimitiveToNumber) \
201 V(PlainPrimitiveToWord32) \ 201 V(PlainPrimitiveToWord32) \
202 V(PlainPrimitiveToFloat64) \ 202 V(PlainPrimitiveToFloat64) \
203 V(BooleanNot) \ 203 V(BooleanNot) \
204 V(BooleanToNumber) \
205 V(SpeculativeNumberAdd) \ 204 V(SpeculativeNumberAdd) \
206 V(SpeculativeNumberSubtract) \ 205 V(SpeculativeNumberSubtract) \
207 V(SpeculativeNumberMultiply) \ 206 V(SpeculativeNumberMultiply) \
208 V(SpeculativeNumberDivide) \ 207 V(SpeculativeNumberDivide) \
209 V(SpeculativeNumberModulus) \ 208 V(SpeculativeNumberModulus) \
210 V(SpeculativeNumberEqual) \ 209 V(SpeculativeNumberEqual) \
211 V(SpeculativeNumberLessThan) \ 210 V(SpeculativeNumberLessThan) \
212 V(SpeculativeNumberLessThanOrEqual) \ 211 V(SpeculativeNumberLessThanOrEqual) \
213 V(NumberAdd) \ 212 V(NumberAdd) \
214 V(NumberSubtract) \ 213 V(NumberSubtract) \
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 V(NumberSin) \ 248 V(NumberSin) \
250 V(NumberSinh) \ 249 V(NumberSinh) \
251 V(NumberSqrt) \ 250 V(NumberSqrt) \
252 V(NumberTan) \ 251 V(NumberTan) \
253 V(NumberTanh) \ 252 V(NumberTanh) \
254 V(NumberTrunc) \ 253 V(NumberTrunc) \
255 V(NumberToInt32) \ 254 V(NumberToInt32) \
256 V(NumberToUint32) \ 255 V(NumberToUint32) \
257 V(NumberSilenceNaN) \ 256 V(NumberSilenceNaN) \
258 V(StringFromCharCode) \ 257 V(StringFromCharCode) \
259 V(StringToNumber) \
260 V(CheckBounds) \ 258 V(CheckBounds) \
261 V(CheckIf) \ 259 V(CheckIf) \
262 V(CheckNumber) \ 260 V(CheckNumber) \
263 V(CheckTaggedPointer) \ 261 V(CheckTaggedPointer) \
264 V(CheckTaggedSigned) \ 262 V(CheckTaggedSigned) \
265 V(CheckFloat64Hole) \ 263 V(CheckFloat64Hole) \
266 V(CheckTaggedHole) \ 264 V(CheckTaggedHole) \
267 V(Allocate) \ 265 V(Allocate) \
268 V(LoadField) \ 266 V(LoadField) \
269 V(LoadBuffer) \ 267 V(LoadBuffer) \
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 } 713 }
716 }; 714 };
717 715
718 std::ostream& operator<<(std::ostream&, IrOpcode::Value); 716 std::ostream& operator<<(std::ostream&, IrOpcode::Value);
719 717
720 } // namespace compiler 718 } // namespace compiler
721 } // namespace internal 719 } // namespace internal
722 } // namespace v8 720 } // namespace v8
723 721
724 #endif // V8_COMPILER_OPCODES_H_ 722 #endif // V8_COMPILER_OPCODES_H_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/simplified-lowering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698