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

Side by Side Diff: src/arm64/code-stubs-arm64.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 | « src/arm/code-stubs-arm.cc ('k') | src/code-stubs.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64 7 #if V8_TARGET_ARCH_ARM64
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 4584 matching lines...) Expand 10 before | Expand all | Expand 10 after
4595 } 4595 }
4596 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE); 4596 masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE);
4597 __ Drop(x1); 4597 __ Drop(x1);
4598 // Return to IC Miss stub, continuation still on stack. 4598 // Return to IC Miss stub, continuation still on stack.
4599 __ Ret(); 4599 __ Ret();
4600 } 4600 }
4601 4601
4602 4602
4603 void LoadICTrampolineStub::Generate(MacroAssembler* masm) { 4603 void LoadICTrampolineStub::Generate(MacroAssembler* masm) {
4604 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); 4604 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
4605 VectorLoadStub stub(isolate(), state_); 4605 VectorLoadStub stub(isolate(), state());
4606 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); 4606 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
4607 } 4607 }
4608 4608
4609 4609
4610 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { 4610 void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) {
4611 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); 4611 EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
4612 VectorKeyedLoadStub stub(isolate()); 4612 VectorKeyedLoadStub stub(isolate());
4613 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); 4613 __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
4614 } 4614 }
4615 4615
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
5437 MemOperand(fp, 6 * kPointerSize), 5437 MemOperand(fp, 6 * kPointerSize),
5438 NULL); 5438 NULL);
5439 } 5439 }
5440 5440
5441 5441
5442 #undef __ 5442 #undef __
5443 5443
5444 } } // namespace v8::internal 5444 } } // namespace v8::internal
5445 5445
5446 #endif // V8_TARGET_ARCH_ARM64 5446 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/code-stubs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698