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

Side by Side Diff: src/ic/mips/handler-compiler-mips.cc

Issue 2147043002: Cleanup interface descriptors to reflect that vectors are part of stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@rename-store-ic
Patch Set: Rebasing 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
« no previous file with comments | « src/ic/ia32/stub-cache-ia32.cc ('k') | src/ic/mips/ic-mips.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 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 #if V8_TARGET_ARCH_MIPS 5 #if V8_TARGET_ARCH_MIPS
6 6
7 #include "src/ic/handler-compiler.h" 7 #include "src/ic/handler-compiler.h"
8 8
9 #include "src/api-arguments.h" 9 #include "src/api-arguments.h"
10 #include "src/field-type.h" 10 #include "src/field-type.h"
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // Jump to stub. 314 // Jump to stub.
315 CallApiCallbackStub stub(isolate, is_store, call_data_undefined, 315 CallApiCallbackStub stub(isolate, is_store, call_data_undefined,
316 !optimization.is_constant_call()); 316 !optimization.is_constant_call());
317 __ TailCallStub(&stub); 317 __ TailCallStub(&stub);
318 } 318 }
319 319
320 320
321 static void StoreIC_PushArgs(MacroAssembler* masm) { 321 static void StoreIC_PushArgs(MacroAssembler* masm) {
322 __ Push(StoreDescriptor::ReceiverRegister(), StoreDescriptor::NameRegister(), 322 __ Push(StoreDescriptor::ReceiverRegister(), StoreDescriptor::NameRegister(),
323 StoreDescriptor::ValueRegister(), 323 StoreDescriptor::ValueRegister(),
324 VectorStoreICDescriptor::SlotRegister(), 324 StoreWithVectorDescriptor::SlotRegister(),
325 VectorStoreICDescriptor::VectorRegister()); 325 StoreWithVectorDescriptor::VectorRegister());
326 } 326 }
327 327
328 328
329 void ElementHandlerCompiler::GenerateStoreSlow(MacroAssembler* masm) { 329 void ElementHandlerCompiler::GenerateStoreSlow(MacroAssembler* masm) {
330 StoreIC_PushArgs(masm); 330 StoreIC_PushArgs(masm);
331 331
332 // The slow case calls into the runtime to complete the store without causing 332 // The slow case calls into the runtime to complete the store without causing
333 // an IC miss that would otherwise cause a transition to the generic stub. 333 // an IC miss that would otherwise cause a transition to the generic stub.
334 __ TailCallRuntime(Runtime::kKeyedStoreIC_Slow); 334 __ TailCallRuntime(Runtime::kKeyedStoreIC_Slow);
335 } 335 }
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 // Return the generated code. 682 // Return the generated code.
683 return GetCode(kind(), name); 683 return GetCode(kind(), name);
684 } 684 }
685 685
686 686
687 #undef __ 687 #undef __
688 } // namespace internal 688 } // namespace internal
689 } // namespace v8 689 } // namespace v8
690 690
691 #endif // V8_TARGET_ARCH_MIPS 691 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/ic/ia32/stub-cache-ia32.cc ('k') | src/ic/mips/ic-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698