| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |