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_MIPS64 | 7 #if V8_TARGET_ARCH_MIPS64 |
8 | 8 |
9 #include "src/base/division-by-constant.h" | 9 #include "src/base/division-by-constant.h" |
10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
(...skipping 5481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5492 nop(Assembler::CODE_AGE_SEQUENCE_NOP); | 5492 nop(Assembler::CODE_AGE_SEQUENCE_NOP); |
5493 nop(Assembler::CODE_AGE_SEQUENCE_NOP); | 5493 nop(Assembler::CODE_AGE_SEQUENCE_NOP); |
5494 // Adjust fp to point to caller's fp. | 5494 // Adjust fp to point to caller's fp. |
5495 Daddu(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); | 5495 Daddu(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); |
5496 } | 5496 } |
5497 } | 5497 } |
5498 | 5498 |
5499 | 5499 |
5500 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { | 5500 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { |
5501 ld(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); | 5501 ld(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
5502 ld(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset)); | 5502 ld(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); |
5503 ld(vector, FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset)); | 5503 ld(vector, |
| 5504 FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); |
5504 } | 5505 } |
5505 | 5506 |
5506 | 5507 |
5507 void MacroAssembler::EnterFrame(StackFrame::Type type, | 5508 void MacroAssembler::EnterFrame(StackFrame::Type type, |
5508 bool load_constant_pool_pointer_reg) { | 5509 bool load_constant_pool_pointer_reg) { |
5509 // Out-of-line constant pool not implemented on mips64. | 5510 // Out-of-line constant pool not implemented on mips64. |
5510 UNREACHABLE(); | 5511 UNREACHABLE(); |
5511 } | 5512 } |
5512 | 5513 |
5513 | 5514 |
(...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6546 if (mag.shift > 0) sra(result, result, mag.shift); | 6547 if (mag.shift > 0) sra(result, result, mag.shift); |
6547 srl(at, dividend, 31); | 6548 srl(at, dividend, 31); |
6548 Addu(result, result, Operand(at)); | 6549 Addu(result, result, Operand(at)); |
6549 } | 6550 } |
6550 | 6551 |
6551 | 6552 |
6552 } // namespace internal | 6553 } // namespace internal |
6553 } // namespace v8 | 6554 } // namespace v8 |
6554 | 6555 |
6555 #endif // V8_TARGET_ARCH_MIPS64 | 6556 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |