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