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

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

Issue 2646763003: [turbofan] Optimize typeof o === "object" checks. (Closed)
Patch Set: Address comment. Created 3 years, 11 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
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/base/compiler-specific.h" 10 #include "src/base/compiler-specific.h"
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 const Operator* CheckedTaggedToFloat64(CheckTaggedInputMode); 403 const Operator* CheckedTaggedToFloat64(CheckTaggedInputMode);
404 const Operator* CheckedTaggedToTaggedSigned(); 404 const Operator* CheckedTaggedToTaggedSigned();
405 const Operator* CheckedTaggedToTaggedPointer(); 405 const Operator* CheckedTaggedToTaggedPointer();
406 const Operator* CheckedTruncateTaggedToWord32(); 406 const Operator* CheckedTruncateTaggedToWord32();
407 407
408 const Operator* CheckFloat64Hole(CheckFloat64HoleMode); 408 const Operator* CheckFloat64Hole(CheckFloat64HoleMode);
409 const Operator* CheckTaggedHole(); 409 const Operator* CheckTaggedHole();
410 const Operator* ConvertTaggedHoleToUndefined(); 410 const Operator* ConvertTaggedHoleToUndefined();
411 411
412 const Operator* ObjectIsCallable(); 412 const Operator* ObjectIsCallable();
413 const Operator* ObjectIsNonCallable();
413 const Operator* ObjectIsNumber(); 414 const Operator* ObjectIsNumber();
414 const Operator* ObjectIsReceiver(); 415 const Operator* ObjectIsReceiver();
415 const Operator* ObjectIsSmi(); 416 const Operator* ObjectIsSmi();
416 const Operator* ObjectIsString(); 417 const Operator* ObjectIsString();
417 const Operator* ObjectIsUndetectable(); 418 const Operator* ObjectIsUndetectable();
418 419
419 // new-rest-parameter-elements 420 // new-rest-parameter-elements
420 const Operator* NewRestParameterElements(int parameter_count); 421 const Operator* NewRestParameterElements(int parameter_count);
421 422
422 // new-unmapped-arguments-elements 423 // new-unmapped-arguments-elements
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 Zone* const zone_; 465 Zone* const zone_;
465 466
466 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder); 467 DISALLOW_COPY_AND_ASSIGN(SimplifiedOperatorBuilder);
467 }; 468 };
468 469
469 } // namespace compiler 470 } // namespace compiler
470 } // namespace internal 471 } // namespace internal
471 } // namespace v8 472 } // namespace v8
472 473
473 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_ 474 #endif // V8_COMPILER_SIMPLIFIED_OPERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698