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.h" | 5 #include "src/builtins/builtins.h" |
6 #include "src/builtins/builtins-utils.h" | 6 #include "src/builtins/builtins-utils.h" |
7 #include "src/ic/handler-compiler.h" | 7 #include "src/ic/handler-compiler.h" |
8 #include "src/ic/ic.h" | 8 #include "src/ic/ic.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 void Builtins::Generate_KeyedLoadIC_Megamorphic(MacroAssembler* masm) { | |
14 KeyedLoadIC::GenerateMegamorphic(masm); | |
15 } | |
16 | |
17 void Builtins::Generate_KeyedLoadIC_Megamorphic_TF( | 13 void Builtins::Generate_KeyedLoadIC_Megamorphic_TF( |
18 CodeStubAssembler* assembler) { | 14 CodeStubAssembler* assembler) { |
19 typedef compiler::Node Node; | 15 typedef compiler::Node Node; |
20 typedef LoadWithVectorDescriptor Descriptor; | 16 typedef LoadWithVectorDescriptor Descriptor; |
21 | 17 |
22 Node* receiver = assembler->Parameter(Descriptor::kReceiver); | 18 Node* receiver = assembler->Parameter(Descriptor::kReceiver); |
23 Node* name = assembler->Parameter(Descriptor::kName); | 19 Node* name = assembler->Parameter(Descriptor::kName); |
24 Node* slot = assembler->Parameter(Descriptor::kSlot); | 20 Node* slot = assembler->Parameter(Descriptor::kSlot); |
25 Node* vector = assembler->Parameter(Descriptor::kVector); | 21 Node* vector = assembler->Parameter(Descriptor::kVector); |
26 Node* context = assembler->Parameter(Descriptor::kContext); | 22 Node* context = assembler->Parameter(Descriptor::kContext); |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 void Builtins::Generate_StoreIC_SlowSloppy(CodeStubAssembler* assembler) { | 150 void Builtins::Generate_StoreIC_SlowSloppy(CodeStubAssembler* assembler) { |
155 Generate_StoreIC_Slow(assembler, SLOPPY); | 151 Generate_StoreIC_Slow(assembler, SLOPPY); |
156 } | 152 } |
157 | 153 |
158 void Builtins::Generate_StoreIC_SlowStrict(CodeStubAssembler* assembler) { | 154 void Builtins::Generate_StoreIC_SlowStrict(CodeStubAssembler* assembler) { |
159 Generate_StoreIC_Slow(assembler, STRICT); | 155 Generate_StoreIC_Slow(assembler, STRICT); |
160 } | 156 } |
161 | 157 |
162 } // namespace internal | 158 } // namespace internal |
163 } // namespace v8 | 159 } // namespace v8 |
OLD | NEW |