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/compiler.h" | 9 #include "src/compiler.h" |
10 #include "src/string-builder.h" | 10 #include "src/string-builder.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
17 // ES6 section 19.2.1.1.1 CreateDynamicFunction | 17 // ES6 section 19.2.1.1.1 CreateDynamicFunction |
18 MaybeHandle<Object> CreateDynamicFunction(Isolate* isolate, | 18 MaybeHandle<Object> CreateDynamicFunction(Isolate* isolate, |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 | 471 |
472 Node* f = assembler.Parameter(0); | 472 Node* f = assembler.Parameter(0); |
473 Node* v = assembler.Parameter(1); | 473 Node* v = assembler.Parameter(1); |
474 Node* context = assembler.Parameter(4); | 474 Node* context = assembler.Parameter(4); |
475 Node* result = assembler.OrdinaryHasInstance(context, f, v); | 475 Node* result = assembler.OrdinaryHasInstance(context, f, v); |
476 assembler.Return(result); | 476 assembler.Return(result); |
477 } | 477 } |
478 | 478 |
479 } // namespace internal | 479 } // namespace internal |
480 } // namespace v8 | 480 } // namespace v8 |
OLD | NEW |