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

Side by Side Diff: src/code-factory.cc

Issue 2147013002: [stubs] Removed "Vector" ornamentation from StoreIC stubs names. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/code-factory.h" 5 #include "src/code-factory.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/ic/ic.h" 8 #include "src/ic/ic.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 ConvertReceiverMode mode, 76 ConvertReceiverMode mode,
77 TailCallMode tail_call_mode) { 77 TailCallMode tail_call_mode) {
78 return Callable(CallIC::initialize_stub_in_optimized_code(isolate, argc, mode, 78 return Callable(CallIC::initialize_stub_in_optimized_code(isolate, argc, mode,
79 tail_call_mode), 79 tail_call_mode),
80 CallFunctionWithFeedbackAndVectorDescriptor(isolate)); 80 CallFunctionWithFeedbackAndVectorDescriptor(isolate));
81 } 81 }
82 82
83 83
84 // static 84 // static
85 Callable CodeFactory::StoreIC(Isolate* isolate, LanguageMode language_mode) { 85 Callable CodeFactory::StoreIC(Isolate* isolate, LanguageMode language_mode) {
86 VectorStoreICTrampolineStub stub(isolate, StoreICState(language_mode)); 86 StoreICTrampolineStub stub(isolate, StoreICState(language_mode));
87 return Callable(stub.GetCode(), VectorStoreICTrampolineDescriptor(isolate)); 87 return Callable(stub.GetCode(), VectorStoreICTrampolineDescriptor(isolate));
88 } 88 }
89 89
90 90
91 // static 91 // static
92 Callable CodeFactory::StoreICInOptimizedCode(Isolate* isolate, 92 Callable CodeFactory::StoreICInOptimizedCode(Isolate* isolate,
93 LanguageMode language_mode) { 93 LanguageMode language_mode) {
94 CallInterfaceDescriptor descriptor = VectorStoreICDescriptor(isolate); 94 CallInterfaceDescriptor descriptor = VectorStoreICDescriptor(isolate);
95 return Callable( 95 return Callable(
96 StoreIC::initialize_stub_in_optimized_code(isolate, language_mode), 96 StoreIC::initialize_stub_in_optimized_code(isolate, language_mode),
97 descriptor); 97 descriptor);
98 } 98 }
99 99
100 100
101 // static 101 // static
102 Callable CodeFactory::KeyedStoreIC(Isolate* isolate, 102 Callable CodeFactory::KeyedStoreIC(Isolate* isolate,
103 LanguageMode language_mode) { 103 LanguageMode language_mode) {
104 VectorKeyedStoreICTrampolineStub stub(isolate, StoreICState(language_mode)); 104 KeyedStoreICTrampolineStub stub(isolate, StoreICState(language_mode));
105 return Callable(stub.GetCode(), VectorStoreICTrampolineDescriptor(isolate)); 105 return Callable(stub.GetCode(), VectorStoreICTrampolineDescriptor(isolate));
106 } 106 }
107 107
108 108
109 // static 109 // static
110 Callable CodeFactory::KeyedStoreICInOptimizedCode(Isolate* isolate, 110 Callable CodeFactory::KeyedStoreICInOptimizedCode(Isolate* isolate,
111 LanguageMode language_mode) { 111 LanguageMode language_mode) {
112 CallInterfaceDescriptor descriptor = VectorStoreICDescriptor(isolate); 112 CallInterfaceDescriptor descriptor = VectorStoreICDescriptor(isolate);
113 return Callable( 113 return Callable(
114 KeyedStoreIC::initialize_stub_in_optimized_code(isolate, language_mode), 114 KeyedStoreIC::initialize_stub_in_optimized_code(isolate, language_mode),
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 // static 572 // static
573 Callable CodeFactory::InterpreterCEntry(Isolate* isolate, int result_size) { 573 Callable CodeFactory::InterpreterCEntry(Isolate* isolate, int result_size) {
574 // Note: If we ever use fpregs in the interpreter then we will need to 574 // Note: If we ever use fpregs in the interpreter then we will need to
575 // save fpregs too. 575 // save fpregs too.
576 CEntryStub stub(isolate, result_size, kDontSaveFPRegs, kArgvInRegister); 576 CEntryStub stub(isolate, result_size, kDontSaveFPRegs, kArgvInRegister);
577 return Callable(stub.GetCode(), InterpreterCEntryDescriptor(isolate)); 577 return Callable(stub.GetCode(), InterpreterCEntryDescriptor(isolate));
578 } 578 }
579 579
580 } // namespace internal 580 } // namespace internal
581 } // namespace v8 581 } // namespace v8
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/code-stubs.h » ('j') | src/code-stubs.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698