Commit 4f4e209f authored by akos.palfi@imgtec.com's avatar akos.palfi@imgtec.com

MIPS: Added vector-based loadic hydrogen stubs. Not yet callable.

Port r23405 (12573f34)

Original commit message:
The next step is to integrate the use of vector[slot] into the IC
infrastructure so it can do the right thing for a vector-based ic.
Then these stubs can be installed. For now, they immediately bail out
to the miss handler.

BUG=
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/505303002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23422 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 881b15a1
......@@ -4797,6 +4797,20 @@ void StubFailureTrampolineStub::Generate(MacroAssembler* masm) {
}
void LoadICTrampolineStub::Generate(MacroAssembler* masm) {
EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
VectorLoadStub stub(isolate(), state_);
__ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
}
void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) {
EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
VectorKeyedLoadStub stub(isolate());
__ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
}
void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) {
if (masm->isolate()->function_entry_hook() != NULL) {
ProfileEntryHookStub stub(masm->isolate());
......
......@@ -4834,6 +4834,20 @@ void StubFailureTrampolineStub::Generate(MacroAssembler* masm) {
}
void LoadICTrampolineStub::Generate(MacroAssembler* masm) {
EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
VectorLoadStub stub(isolate(), state_);
__ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
}
void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) {
EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister());
VectorKeyedLoadStub stub(isolate());
__ Jump(stub.GetCode(), RelocInfo::CODE_TARGET);
}
void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) {
if (masm->isolate()->function_entry_hook() != NULL) {
ProfileEntryHookStub stub(masm->isolate());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment