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.h" | 6 #include "src/builtins/builtins.h" |
6 #include "src/builtins/builtins-utils.h" | |
7 | |
8 #include "src/code-factory.h" | 7 #include "src/code-factory.h" |
| 8 #include "src/code-stub-assembler.h" |
9 #include "src/property-descriptor.h" | 9 #include "src/property-descriptor.h" |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
14 // ----------------------------------------------------------------------------- | 14 // ----------------------------------------------------------------------------- |
15 // ES6 section 19.1 Object Objects | 15 // ES6 section 19.1 Object Objects |
16 | 16 |
17 void Builtins::Generate_ObjectHasOwnProperty( | 17 void Builtins::Generate_ObjectHasOwnProperty( |
18 compiler::CodeAssemblerState* state) { | 18 compiler::CodeAssemblerState* state) { |
(...skipping 1050 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1069 | 1069 |
1070 Node* constructor = assembler.Parameter(Descriptor::kLeft); | 1070 Node* constructor = assembler.Parameter(Descriptor::kLeft); |
1071 Node* object = assembler.Parameter(Descriptor::kRight); | 1071 Node* object = assembler.Parameter(Descriptor::kRight); |
1072 Node* context = assembler.Parameter(Descriptor::kContext); | 1072 Node* context = assembler.Parameter(Descriptor::kContext); |
1073 | 1073 |
1074 assembler.Return(assembler.OrdinaryHasInstance(context, constructor, object)); | 1074 assembler.Return(assembler.OrdinaryHasInstance(context, constructor, object)); |
1075 } | 1075 } |
1076 | 1076 |
1077 } // namespace internal | 1077 } // namespace internal |
1078 } // namespace v8 | 1078 } // namespace v8 |
OLD | NEW |