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

Side by Side Diff: src/s390/code-stubs-s390.cc

Issue 2065373003: [ic] LoadICState cleanup. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@cleanup-load-global-ic
Patch Set: Rebasing Created 4 years, 6 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/ppc/code-stubs-ppc.cc ('k') | src/x64/code-stubs-x64.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_S390 5 #if V8_TARGET_ARCH_S390
6 6
7 #include "src/code-stubs.h" 7 #include "src/code-stubs.h"
8 #include "src/api-arguments.h" 8 #include "src/api-arguments.h"
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 3533 matching lines...) Expand 10 before | Expand all | Expand 10 after
3544 __ AddP(r3, Operand(1)); 3544 __ AddP(r3, Operand(1));
3545 } 3545 }
3546 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE); 3546 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE);
3547 __ ShiftLeftP(r3, r3, Operand(kPointerSizeLog2)); 3547 __ ShiftLeftP(r3, r3, Operand(kPointerSizeLog2));
3548 __ la(sp, MemOperand(r3, sp)); 3548 __ la(sp, MemOperand(r3, sp));
3549 __ Ret(); 3549 __ Ret();
3550 } 3550 }
3551 3551
3552 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { 3552 void LoadICTrampolineStub::Generate(MacroAssembler* masm) {
3553 __ EmitLoadTypeFeedbackVector(LoadWithVectorDescriptor::VectorRegister()); 3553 __ EmitLoadTypeFeedbackVector(LoadWithVectorDescriptor::VectorRegister());
3554 LoadICStub stub(isolate(), state()); 3554 LoadICStub stub(isolate());
3555 stub.GenerateForTrampoline(masm); 3555 stub.GenerateForTrampoline(masm);
3556 } 3556 }
3557 3557
3558 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { 3558 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) {
3559 __ EmitLoadTypeFeedbackVector(LoadWithVectorDescriptor::VectorRegister()); 3559 __ EmitLoadTypeFeedbackVector(LoadWithVectorDescriptor::VectorRegister());
3560 KeyedLoadICStub stub(isolate(), state()); 3560 KeyedLoadICStub stub(isolate());
3561 stub.GenerateForTrampoline(masm); 3561 stub.GenerateForTrampoline(masm);
3562 } 3562 }
3563 3563
3564 void CallICTrampolineStub::Generate(MacroAssembler* masm) { 3564 void CallICTrampolineStub::Generate(MacroAssembler* masm) {
3565 __ EmitLoadTypeFeedbackVector(r4); 3565 __ EmitLoadTypeFeedbackVector(r4);
3566 CallICStub stub(isolate(), state()); 3566 CallICStub stub(isolate(), state());
3567 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); 3567 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
3568 } 3568 }
3569 3569
3570 void LoadICStub::Generate(MacroAssembler* masm) { GenerateImpl(masm, false); } 3570 void LoadICStub::Generate(MacroAssembler* masm) { GenerateImpl(masm, false); }
(...skipping 1930 matching lines...) Expand 10 before | Expand all | Expand 10 after
5501 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref, 5501 CallApiFunctionAndReturn(masm, api_function_address, thunk_ref,
5502 kStackUnwindSpace, NULL, return_value_operand, NULL); 5502 kStackUnwindSpace, NULL, return_value_operand, NULL);
5503 } 5503 }
5504 5504
5505 #undef __ 5505 #undef __
5506 5506
5507 } // namespace internal 5507 } // namespace internal
5508 } // namespace v8 5508 } // namespace v8
5509 5509
5510 #endif // V8_TARGET_ARCH_S390 5510 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/ppc/code-stubs-ppc.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698