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

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

Issue 2309953002: [turbofan] Introduce dedicated NumberToBoolean operator. (Closed)
Patch Set: Fix unittest. Created 4 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
« 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/operator.h" 10 #include "src/compiler/operator.h"
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 const Operator* NumberMin(); 251 const Operator* NumberMin();
252 const Operator* NumberPow(); 252 const Operator* NumberPow();
253 const Operator* NumberRound(); 253 const Operator* NumberRound();
254 const Operator* NumberSign(); 254 const Operator* NumberSign();
255 const Operator* NumberSin(); 255 const Operator* NumberSin();
256 const Operator* NumberSinh(); 256 const Operator* NumberSinh();
257 const Operator* NumberSqrt(); 257 const Operator* NumberSqrt();
258 const Operator* NumberTan(); 258 const Operator* NumberTan();
259 const Operator* NumberTanh(); 259 const Operator* NumberTanh();
260 const Operator* NumberTrunc(); 260 const Operator* NumberTrunc();
261 const Operator* NumberToBoolean();
261 const Operator* NumberToInt32(); 262 const Operator* NumberToInt32();
262 const Operator* NumberToUint32(); 263 const Operator* NumberToUint32();
263 264
264 const Operator* NumberSilenceNaN(); 265 const Operator* NumberSilenceNaN();
265 266
266 const Operator* SpeculativeNumberAdd(NumberOperationHint hint); 267 const Operator* SpeculativeNumberAdd(NumberOperationHint hint);
267 const Operator* SpeculativeNumberSubtract(NumberOperationHint hint); 268 const Operator* SpeculativeNumberSubtract(NumberOperationHint hint);
268 const Operator* SpeculativeNumberMultiply(NumberOperationHint hint); 269 const Operator* SpeculativeNumberMultiply(NumberOperationHint hint);
269 const Operator* SpeculativeNumberDivide(NumberOperationHint hint); 270 const Operator* SpeculativeNumberDivide(NumberOperationHint hint);
270 const Operator* SpeculativeNumberModulus(NumberOperationHint hint); 271 const Operator* SpeculativeNumberModulus(NumberOperationHint hint);
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 Zone* const zone_; 380 Zone* const zone_;
380 381
381 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); 382 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder);
382 }; 383 };
383 384
384 } // namespace compiler 385 } // namespace compiler
385 } // namespace internal 386 } // namespace internal
386 } // namespace v8 387 } // namespace v8
387 388
388 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ 389 #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