Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: src/builtins/builtins-handler.cc

Issue 2303793002: Revert of [stubs] Port KeyedLoadIC_Generic stub to TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/builtins/builtins.h ('k') | src/builtins/builtins-sharedarraybuffer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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) { 13 void Builtins::Generate_KeyedLoadIC_Megamorphic(MacroAssembler* masm) {
14 KeyedLoadIC::GenerateMegamorphic(masm); 14 KeyedLoadIC::GenerateMegamorphic(masm);
15 } 15 }
16 16
17 void Builtins::Generate_KeyedLoadIC_Megamorphic_TF(
18 CodeStubAssembler* assembler) {
19 typedef compiler::Node Node;
20 typedef LoadWithVectorDescriptor Descriptor;
21
22 Node* receiver = assembler->Parameter(Descriptor::kReceiver);
23 Node* name = assembler->Parameter(Descriptor::kName);
24 Node* slot = assembler->Parameter(Descriptor::kSlot);
25 Node* vector = assembler->Parameter(Descriptor::kVector);
26 Node* context = assembler->Parameter(Descriptor::kContext);
27
28 CodeStubAssembler::LoadICParameters p(context, receiver, name, slot, vector);
29 assembler->KeyedLoadICGeneric(&p);
30 }
31
32 void Builtins::Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { 17 void Builtins::Generate_KeyedLoadIC_Miss(MacroAssembler* masm) {
33 KeyedLoadIC::GenerateMiss(masm); 18 KeyedLoadIC::GenerateMiss(masm);
34 } 19 }
35 void Builtins::Generate_KeyedLoadIC_Slow(MacroAssembler* masm) { 20 void Builtins::Generate_KeyedLoadIC_Slow(MacroAssembler* masm) {
36 KeyedLoadIC::GenerateRuntimeGetProperty(masm); 21 KeyedLoadIC::GenerateRuntimeGetProperty(masm);
37 } 22 }
38 23
39 void Builtins::Generate_KeyedStoreIC_Megamorphic(MacroAssembler* masm) { 24 void Builtins::Generate_KeyedStoreIC_Megamorphic(MacroAssembler* masm) {
40 KeyedStoreIC::GenerateMegamorphic(masm, SLOPPY); 25 KeyedStoreIC::GenerateMegamorphic(masm, SLOPPY);
41 } 26 }
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 void Builtins::Generate_StoreIC_SlowSloppy(CodeStubAssembler* assembler) { 139 void Builtins::Generate_StoreIC_SlowSloppy(CodeStubAssembler* assembler) {
155 Generate_StoreIC_Slow(assembler, SLOPPY); 140 Generate_StoreIC_Slow(assembler, SLOPPY);
156 } 141 }
157 142
158 void Builtins::Generate_StoreIC_SlowStrict(CodeStubAssembler* assembler) { 143 void Builtins::Generate_StoreIC_SlowStrict(CodeStubAssembler* assembler) {
159 Generate_StoreIC_Slow(assembler, STRICT); 144 Generate_StoreIC_Slow(assembler, STRICT);
160 } 145 }
161 146
162 } // namespace internal 147 } // namespace internal
163 } // namespace v8 148 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins/builtins.h ('k') | src/builtins/builtins-sharedarraybuffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698