| 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 5416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5427 nop(Assembler::CODE_AGE_SEQUENCE_NOP); | 5427 nop(Assembler::CODE_AGE_SEQUENCE_NOP); |
| 5428 nop(Assembler::CODE_AGE_SEQUENCE_NOP); | 5428 nop(Assembler::CODE_AGE_SEQUENCE_NOP); |
| 5429 // Adjust fp to point to caller's fp. | 5429 // Adjust fp to point to caller's fp. |
| 5430 Daddu(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); | 5430 Daddu(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); |
| 5431 } | 5431 } |
| 5432 } | 5432 } |
| 5433 | 5433 |
| 5434 | 5434 |
| 5435 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { | 5435 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { |
| 5436 ld(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); | 5436 ld(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
| 5437 ld(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); | 5437 ld(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset)); |
| 5438 ld(vector, | 5438 ld(vector, FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset)); |
| 5439 FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); | |
| 5440 } | 5439 } |
| 5441 | 5440 |
| 5442 | 5441 |
| 5443 void MacroAssembler::EnterFrame(StackFrame::Type type, | 5442 void MacroAssembler::EnterFrame(StackFrame::Type type, |
| 5444 bool load_constant_pool_pointer_reg) { | 5443 bool load_constant_pool_pointer_reg) { |
| 5445 // Out-of-line constant pool not implemented on mips64. | 5444 // Out-of-line constant pool not implemented on mips64. |
| 5446 UNREACHABLE(); | 5445 UNREACHABLE(); |
| 5447 } | 5446 } |
| 5448 | 5447 |
| 5449 | 5448 |
| (...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6483 if (mag.shift > 0) sra(result, result, mag.shift); | 6482 if (mag.shift > 0) sra(result, result, mag.shift); |
| 6484 srl(at, dividend, 31); | 6483 srl(at, dividend, 31); |
| 6485 Addu(result, result, Operand(at)); | 6484 Addu(result, result, Operand(at)); |
| 6486 } | 6485 } |
| 6487 | 6486 |
| 6488 | 6487 |
| 6489 } // namespace internal | 6488 } // namespace internal |
| 6490 } // namespace v8 | 6489 } // namespace v8 |
| 6491 | 6490 |
| 6492 #endif // V8_TARGET_ARCH_MIPS64 | 6491 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |