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

Side by Side Diff: src/ic/ppc/handler-compiler-ppc.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/mips64/stub-cache-mips64.cc ('k') | src/ic/ppc/ic-ppc.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_PPC 5 #if V8_TARGET_ARCH_PPC
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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 // Jump to stub. 322 // Jump to stub.
323 CallApiCallbackStub stub(isolate, is_store, call_data_undefined, 323 CallApiCallbackStub stub(isolate, is_store, call_data_undefined,
324 !optimization.is_constant_call()); 324 !optimization.is_constant_call());
325 __ TailCallStub(&stub); 325 __ TailCallStub(&stub);
326 } 326 }
327 327
328 328
329 static void StoreIC_PushArgs(MacroAssembler* masm) { 329 static void StoreIC_PushArgs(MacroAssembler* masm) {
330 __ Push(StoreDescriptor::ReceiverRegister(), StoreDescriptor::NameRegister(), 330 __ Push(StoreDescriptor::ReceiverRegister(), StoreDescriptor::NameRegister(),
331 StoreDescriptor::ValueRegister(), 331 StoreDescriptor::ValueRegister(),
332 VectorStoreICDescriptor::SlotRegister(), 332 StoreWithVectorDescriptor::SlotRegister(),
333 VectorStoreICDescriptor::VectorRegister()); 333 StoreWithVectorDescriptor::VectorRegister());
334 } 334 }
335 335
336 336
337 void ElementHandlerCompiler::GenerateStoreSlow(MacroAssembler* masm) { 337 void ElementHandlerCompiler::GenerateStoreSlow(MacroAssembler* masm) {
338 StoreIC_PushArgs(masm); 338 StoreIC_PushArgs(masm);
339 339
340 // The slow case calls into the runtime to complete the store without causing 340 // The slow case calls into the runtime to complete the store without causing
341 // an IC miss that would otherwise cause a transition to the generic stub. 341 // an IC miss that would otherwise cause a transition to the generic stub.
342 __ TailCallRuntime(Runtime::kKeyedStoreIC_Slow); 342 __ TailCallRuntime(Runtime::kKeyedStoreIC_Slow);
343 } 343 }
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 // Return the generated code. 691 // Return the generated code.
692 return GetCode(kind(), name); 692 return GetCode(kind(), name);
693 } 693 }
694 694
695 695
696 #undef __ 696 #undef __
697 } // namespace internal 697 } // namespace internal
698 } // namespace v8 698 } // namespace v8
699 699
700 #endif // V8_TARGET_ARCH_ARM 700 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/ic/mips64/stub-cache-mips64.cc ('k') | src/ic/ppc/ic-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698