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

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

Issue 2523473002: [cleanup] Drop handwritten KeyedStoreIC code (Closed)
Patch Set: rebased Created 4 years, 1 month 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/code-factory.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-utils.h" 5 #include "src/builtins/builtins-utils.h"
6 #include "src/builtins/builtins.h" 6 #include "src/builtins/builtins.h"
7 #include "src/ic/accessor-assembler.h" 7 #include "src/ic/accessor-assembler.h"
8 #include "src/ic/handler-compiler.h" 8 #include "src/ic/handler-compiler.h"
9 #include "src/ic/ic.h" 9 #include "src/ic/ic.h"
10 #include "src/ic/keyed-store-generic.h" 10 #include "src/ic/keyed-store-generic.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 void Builtins::Generate_KeyedLoadIC_Megamorphic_TF( 15 void Builtins::Generate_KeyedLoadIC_Megamorphic_TF(
16 compiler::CodeAssemblerState* state) { 16 compiler::CodeAssemblerState* state) {
17 AccessorAssembler::GenerateKeyedLoadICMegamorphic(state); 17 AccessorAssembler::GenerateKeyedLoadICMegamorphic(state);
18 } 18 }
19 19
20 void Builtins::Generate_KeyedLoadIC_Miss(MacroAssembler* masm) { 20 void Builtins::Generate_KeyedLoadIC_Miss(MacroAssembler* masm) {
21 KeyedLoadIC::GenerateMiss(masm); 21 KeyedLoadIC::GenerateMiss(masm);
22 } 22 }
23 void Builtins::Generate_KeyedLoadIC_Slow(MacroAssembler* masm) { 23 void Builtins::Generate_KeyedLoadIC_Slow(MacroAssembler* masm) {
24 KeyedLoadIC::GenerateRuntimeGetProperty(masm); 24 KeyedLoadIC::GenerateRuntimeGetProperty(masm);
25 } 25 }
26 26
27 void Builtins::Generate_KeyedStoreIC_Megamorphic(MacroAssembler* masm) {
28 KeyedStoreIC::GenerateMegamorphic(masm, SLOPPY);
29 }
30
31 void Builtins::Generate_KeyedStoreIC_Megamorphic_Strict(MacroAssembler* masm) {
32 KeyedStoreIC::GenerateMegamorphic(masm, STRICT);
33 }
34
35 void Builtins::Generate_KeyedStoreIC_Megamorphic_TF( 27 void Builtins::Generate_KeyedStoreIC_Megamorphic_TF(
36 compiler::CodeAssemblerState* state) { 28 compiler::CodeAssemblerState* state) {
37 KeyedStoreGenericGenerator::Generate(state, SLOPPY); 29 KeyedStoreGenericGenerator::Generate(state, SLOPPY);
38 } 30 }
39 31
40 void Builtins::Generate_KeyedStoreIC_Megamorphic_Strict_TF( 32 void Builtins::Generate_KeyedStoreIC_Megamorphic_Strict_TF(
41 compiler::CodeAssemblerState* state) { 33 compiler::CodeAssemblerState* state) {
42 KeyedStoreGenericGenerator::Generate(state, STRICT); 34 KeyedStoreGenericGenerator::Generate(state, STRICT);
43 } 35 }
44 36
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 Generate_StoreIC_Slow(state, SLOPPY); 151 Generate_StoreIC_Slow(state, SLOPPY);
160 } 152 }
161 153
162 void Builtins::Generate_StoreIC_SlowStrict( 154 void Builtins::Generate_StoreIC_SlowStrict(
163 compiler::CodeAssemblerState* state) { 155 compiler::CodeAssemblerState* state) {
164 Generate_StoreIC_Slow(state, STRICT); 156 Generate_StoreIC_Slow(state, STRICT);
165 } 157 }
166 158
167 } // namespace internal 159 } // namespace internal
168 } // namespace v8 160 } // namespace v8
OLDNEW
« no previous file with comments | « src/builtins/builtins.h ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698