| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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 #include "src/builtins/builtins-utils.h" | 5 #include "src/builtins/builtins-utils.h" |
| 6 #include "src/builtins/builtins.h" | 6 #include "src/builtins/builtins.h" |
| 7 #include "src/code-factory.h" | 7 #include "src/code-factory.h" |
| 8 #include "src/code-stub-assembler.h" | 8 #include "src/code-stub-assembler.h" |
| 9 #include "src/conversions.h" | 9 #include "src/conversions.h" |
| 10 #include "src/counters.h" | 10 #include "src/counters.h" |
| (...skipping 1585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1596 Node* context = Parameter(2); | 1596 Node* context = Parameter(2); |
| 1597 | 1597 |
| 1598 Return(Equal(kNegateResult, lhs, rhs, context)); | 1598 Return(Equal(kNegateResult, lhs, rhs, context)); |
| 1599 } | 1599 } |
| 1600 | 1600 |
| 1601 TF_BUILTIN(StrictEqual, CodeStubAssembler) { | 1601 TF_BUILTIN(StrictEqual, CodeStubAssembler) { |
| 1602 Node* lhs = Parameter(0); | 1602 Node* lhs = Parameter(0); |
| 1603 Node* rhs = Parameter(1); | 1603 Node* rhs = Parameter(1); |
| 1604 Node* context = Parameter(2); | 1604 Node* context = Parameter(2); |
| 1605 | 1605 |
| 1606 Return(StrictEqual(kDontNegateResult, lhs, rhs, context)); | 1606 Return(StrictEqual(lhs, rhs, context)); |
| 1607 } | |
| 1608 | |
| 1609 TF_BUILTIN(StrictNotEqual, CodeStubAssembler) { | |
| 1610 Node* lhs = Parameter(0); | |
| 1611 Node* rhs = Parameter(1); | |
| 1612 Node* context = Parameter(2); | |
| 1613 | |
| 1614 Return(StrictEqual(kNegateResult, lhs, rhs, context)); | |
| 1615 } | 1607 } |
| 1616 | 1608 |
| 1617 } // namespace internal | 1609 } // namespace internal |
| 1618 } // namespace v8 | 1610 } // namespace v8 |
| OLD | NEW |