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::kSharedFunctionInfoOffset)); | 5441 ld(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset)); |
5442 ld(vector, | 5442 ld(vector, FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset)); |
5443 FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); | |
5444 } | 5443 } |
5445 | 5444 |
5446 | 5445 |
5447 void MacroAssembler::EnterFrame(StackFrame::Type type, | 5446 void MacroAssembler::EnterFrame(StackFrame::Type type, |
5448 bool load_constant_pool_pointer_reg) { | 5447 bool load_constant_pool_pointer_reg) { |
5449 // Out-of-line constant pool not implemented on mips64. | 5448 // Out-of-line constant pool not implemented on mips64. |
5450 UNREACHABLE(); | 5449 UNREACHABLE(); |
5451 } | 5450 } |
5452 | 5451 |
5453 | 5452 |
(...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6487 if (mag.shift > 0) sra(result, result, mag.shift); | 6486 if (mag.shift > 0) sra(result, result, mag.shift); |
6488 srl(at, dividend, 31); | 6487 srl(at, dividend, 31); |
6489 Addu(result, result, Operand(at)); | 6488 Addu(result, result, Operand(at)); |
6490 } | 6489 } |
6491 | 6490 |
6492 | 6491 |
6493 } // namespace internal | 6492 } // namespace internal |
6494 } // namespace v8 | 6493 } // namespace v8 |
6495 | 6494 |
6496 #endif // V8_TARGET_ARCH_MIPS64 | 6495 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |