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

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

Issue 2547043002: [Interpreter] Optimize equality check with null/undefined with a check on the map. (Closed)
Patch Set: Fixed a bug in reducing JSIsUndetectable. 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
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_JS_OPERATOR_H_ 5 #ifndef V8_COMPILER_JS_OPERATOR_H_
6 #define V8_COMPILER_JS_OPERATOR_H_ 6 #define V8_COMPILER_JS_OPERATOR_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 #include "src/runtime/runtime.h" 10 #include "src/runtime/runtime.h"
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 explicit JSOperatorBuilder(Zone* zone); 424 explicit JSOperatorBuilder(Zone* zone);
425 425
426 const Operator* Equal(CompareOperationHint hint); 426 const Operator* Equal(CompareOperationHint hint);
427 const Operator* NotEqual(CompareOperationHint hint); 427 const Operator* NotEqual(CompareOperationHint hint);
428 const Operator* StrictEqual(CompareOperationHint hint); 428 const Operator* StrictEqual(CompareOperationHint hint);
429 const Operator* StrictNotEqual(CompareOperationHint hint); 429 const Operator* StrictNotEqual(CompareOperationHint hint);
430 const Operator* LessThan(CompareOperationHint hint); 430 const Operator* LessThan(CompareOperationHint hint);
431 const Operator* GreaterThan(CompareOperationHint hint); 431 const Operator* GreaterThan(CompareOperationHint hint);
432 const Operator* LessThanOrEqual(CompareOperationHint hint); 432 const Operator* LessThanOrEqual(CompareOperationHint hint);
433 const Operator* GreaterThanOrEqual(CompareOperationHint hint); 433 const Operator* GreaterThanOrEqual(CompareOperationHint hint);
434 const Operator* IsUndetectable();
434 435
435 const Operator* BitwiseOr(BinaryOperationHint hint); 436 const Operator* BitwiseOr(BinaryOperationHint hint);
436 const Operator* BitwiseXor(BinaryOperationHint hint); 437 const Operator* BitwiseXor(BinaryOperationHint hint);
437 const Operator* BitwiseAnd(BinaryOperationHint hint); 438 const Operator* BitwiseAnd(BinaryOperationHint hint);
438 const Operator* ShiftLeft(BinaryOperationHint hint); 439 const Operator* ShiftLeft(BinaryOperationHint hint);
439 const Operator* ShiftRight(BinaryOperationHint hint); 440 const Operator* ShiftRight(BinaryOperationHint hint);
440 const Operator* ShiftRightLogical(BinaryOperationHint hint); 441 const Operator* ShiftRightLogical(BinaryOperationHint hint);
441 const Operator* Add(BinaryOperationHint hint); 442 const Operator* Add(BinaryOperationHint hint);
442 const Operator* Subtract(BinaryOperationHint hint); 443 const Operator* Subtract(BinaryOperationHint hint);
443 const Operator* Multiply(BinaryOperationHint hint); 444 const Operator* Multiply(BinaryOperationHint hint);
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 Zone* const zone_; 543 Zone* const zone_;
543 544
544 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder); 545 DISALLOW_COPY_AND_ASSIGN(JSOperatorBuilder);
545 }; 546 };
546 547
547 } // namespace compiler 548 } // namespace compiler
548 } // namespace internal 549 } // namespace internal
549 } // namespace v8 550 } // namespace v8
550 551
551 #endif // V8_COMPILER_JS_OPERATOR_H_ 552 #endif // V8_COMPILER_JS_OPERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698