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

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

Issue 500423002: Minor-key-ify new LoadICTrampolineStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm64/code-stubs-arm64.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 4576 matching lines...) Expand 10 before | Expand all | Expand 10 after
4587 } 4587 }
4588 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE); 4588 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE);
4589 __ mov(r1, Operand(r1, LSL, kPointerSizeLog2)); 4589 __ mov(r1, Operand(r1, LSL, kPointerSizeLog2));
4590 __ add(sp, sp, r1); 4590 __ add(sp, sp, r1);
4591 __ Ret(); 4591 __ Ret();
4592 } 4592 }
4593 4593
4594 4594
4595 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { 4595 void LoadICTrampolineStub::Generate(MacroAssembler* masm) {
4596 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); 4596 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
4597 VectorLoadStub stub(isolate(), state_); 4597 VectorLoadStub stub(isolate(), state());
4598 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); 4598 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
4599 } 4599 }
4600 4600
4601 4601
4602 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { 4602 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) {
4603 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); 4603 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
4604 VectorKeyedLoadStub stub(isolate()); 4604 VectorKeyedLoadStub stub(isolate());
4605 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); 4605 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
4606 } 4606 }
4607 4607
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
5110 MemOperand(fp, 6 * kPointerSize), 5110 MemOperand(fp, 6 * kPointerSize),
5111 NULL); 5111 NULL);
5112 } 5112 }
5113 5113
5114 5114
5115 #undef __ 5115 #undef __
5116 5116
5117 } } // namespace v8::internal 5117 } } // namespace v8::internal
5118 5118
5119 #endif // V8_TARGET_ARCH_ARM 5119 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698