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 <limits.h> // For LONG_MIN, LONG_MAX. | 5 #include <limits.h> // For LONG_MIN, LONG_MAX. |
6 | 6 |
7 #if V8_TARGET_ARCH_MIPS | 7 #if V8_TARGET_ARCH_MIPS |
8 | 8 |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/base/division-by-constant.h" | 10 #include "src/base/division-by-constant.h" |
(...skipping 5629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5640 nop(); // Pad the empty space. | 5640 nop(); // Pad the empty space. |
5641 } else { | 5641 } else { |
5642 PushStandardFrame(a1); | 5642 PushStandardFrame(a1); |
5643 nop(Assembler::CODE_AGE_SEQUENCE_NOP); | 5643 nop(Assembler::CODE_AGE_SEQUENCE_NOP); |
5644 } | 5644 } |
5645 } | 5645 } |
5646 | 5646 |
5647 | 5647 |
5648 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { | 5648 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { |
5649 lw(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); | 5649 lw(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
5650 lw(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); | 5650 lw(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset)); |
5651 lw(vector, | 5651 lw(vector, |
5652 FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); | 5652 FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset)); |
5653 } | 5653 } |
5654 | 5654 |
5655 | 5655 |
5656 void MacroAssembler::EnterFrame(StackFrame::Type type, | 5656 void MacroAssembler::EnterFrame(StackFrame::Type type, |
5657 bool load_constant_pool_pointer_reg) { | 5657 bool load_constant_pool_pointer_reg) { |
5658 // Out-of-line constant pool not implemented on mips. | 5658 // Out-of-line constant pool not implemented on mips. |
5659 UNREACHABLE(); | 5659 UNREACHABLE(); |
5660 } | 5660 } |
5661 | 5661 |
5662 | 5662 |
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6694 if (mag.shift > 0) sra(result, result, mag.shift); | 6694 if (mag.shift > 0) sra(result, result, mag.shift); |
6695 srl(at, dividend, 31); | 6695 srl(at, dividend, 31); |
6696 Addu(result, result, Operand(at)); | 6696 Addu(result, result, Operand(at)); |
6697 } | 6697 } |
6698 | 6698 |
6699 | 6699 |
6700 } // namespace internal | 6700 } // namespace internal |
6701 } // namespace v8 | 6701 } // namespace v8 |
6702 | 6702 |
6703 #endif // V8_TARGET_ARCH_MIPS | 6703 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |