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

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

Issue 2343813002: [ic] Move KeyedStoreIC::GenerateSlow() to ic-XXX.cc to avoid code duplication. (Closed)
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 | « no previous file | src/code-stubs.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 {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 void Builtins::Generate_KeyedStoreIC_Megamorphic_Strict(MacroAssembler* masm) { 43 void Builtins::Generate_KeyedStoreIC_Megamorphic_Strict(MacroAssembler* masm) {
44 KeyedStoreIC::GenerateMegamorphic(masm, STRICT); 44 KeyedStoreIC::GenerateMegamorphic(masm, STRICT);
45 } 45 }
46 46
47 void Builtins::Generate_KeyedStoreIC_Miss(MacroAssembler* masm) { 47 void Builtins::Generate_KeyedStoreIC_Miss(MacroAssembler* masm) {
48 KeyedStoreIC::GenerateMiss(masm); 48 KeyedStoreIC::GenerateMiss(masm);
49 } 49 }
50 50
51 void Builtins::Generate_KeyedStoreIC_Slow(MacroAssembler* masm) { 51 void Builtins::Generate_KeyedStoreIC_Slow(MacroAssembler* masm) {
52 ElementHandlerCompiler::GenerateStoreSlow(masm); 52 KeyedStoreIC::GenerateSlow(masm);
53 } 53 }
54 54
55 void Builtins::Generate_LoadGlobalIC_Miss(CodeStubAssembler* assembler) { 55 void Builtins::Generate_LoadGlobalIC_Miss(CodeStubAssembler* assembler) {
56 typedef compiler::Node Node; 56 typedef compiler::Node Node;
57 typedef LoadGlobalWithVectorDescriptor Descriptor; 57 typedef LoadGlobalWithVectorDescriptor Descriptor;
58 58
59 Node* slot = assembler->Parameter(Descriptor::kSlot); 59 Node* slot = assembler->Parameter(Descriptor::kSlot);
60 Node* vector = assembler->Parameter(Descriptor::kVector); 60 Node* vector = assembler->Parameter(Descriptor::kVector);
61 Node* context = assembler->Parameter(Descriptor::kContext); 61 Node* context = assembler->Parameter(Descriptor::kContext);
62 62
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 void Builtins::Generate_StoreIC_SlowSloppy(CodeStubAssembler* assembler) { 154 void Builtins::Generate_StoreIC_SlowSloppy(CodeStubAssembler* assembler) {
155 Generate_StoreIC_Slow(assembler, SLOPPY); 155 Generate_StoreIC_Slow(assembler, SLOPPY);
156 } 156 }
157 157
158 void Builtins::Generate_StoreIC_SlowStrict(CodeStubAssembler* assembler) { 158 void Builtins::Generate_StoreIC_SlowStrict(CodeStubAssembler* assembler) {
159 Generate_StoreIC_Slow(assembler, STRICT); 159 Generate_StoreIC_Slow(assembler, STRICT);
160 } 160 }
161 161
162 } // namespace internal 162 } // namespace internal
163 } // namespace v8 163 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698