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 1575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1586 Node* lhs = Parameter(0); | 1586 Node* lhs = Parameter(0); |
1587 Node* rhs = Parameter(1); | 1587 Node* rhs = Parameter(1); |
1588 Node* context = Parameter(2); | 1588 Node* context = Parameter(2); |
1589 | 1589 |
1590 Return(Equal(lhs, rhs, context)); | 1590 Return(Equal(lhs, rhs, context)); |
1591 } | 1591 } |
1592 | 1592 |
1593 TF_BUILTIN(StrictEqual, CodeStubAssembler) { | 1593 TF_BUILTIN(StrictEqual, CodeStubAssembler) { |
1594 Node* lhs = Parameter(0); | 1594 Node* lhs = Parameter(0); |
1595 Node* rhs = Parameter(1); | 1595 Node* rhs = Parameter(1); |
1596 Node* context = Parameter(2); | |
1597 | 1596 |
1598 Return(StrictEqual(lhs, rhs, context)); | 1597 Return(StrictEqual(lhs, rhs)); |
1599 } | 1598 } |
1600 | 1599 |
1601 } // namespace internal | 1600 } // namespace internal |
1602 } // namespace v8 | 1601 } // namespace v8 |
OLD | NEW |