| 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 5929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5940 } else { | 5940 } else { |
| 5941 PushStandardFrame(a1); | 5941 PushStandardFrame(a1); |
| 5942 nop(Assembler::CODE_AGE_SEQUENCE_NOP); | 5942 nop(Assembler::CODE_AGE_SEQUENCE_NOP); |
| 5943 nop(Assembler::CODE_AGE_SEQUENCE_NOP); | 5943 nop(Assembler::CODE_AGE_SEQUENCE_NOP); |
| 5944 nop(Assembler::CODE_AGE_SEQUENCE_NOP); | 5944 nop(Assembler::CODE_AGE_SEQUENCE_NOP); |
| 5945 } | 5945 } |
| 5946 } | 5946 } |
| 5947 | 5947 |
| 5948 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { | 5948 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { |
| 5949 ld(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); | 5949 ld(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
| 5950 ld(vector, FieldMemOperand(vector, JSFunction::kSharedFunctionInfoOffset)); | 5950 ld(vector, FieldMemOperand(vector, JSFunction::kLiteralsOffset)); |
| 5951 ld(vector, | 5951 ld(vector, |
| 5952 FieldMemOperand(vector, SharedFunctionInfo::kFeedbackVectorOffset)); | 5952 FieldMemOperand(vector, LiteralsArray::kFeedbackVectorOffset)); |
| 5953 } | 5953 } |
| 5954 | 5954 |
| 5955 | 5955 |
| 5956 void MacroAssembler::EnterFrame(StackFrame::Type type, | 5956 void MacroAssembler::EnterFrame(StackFrame::Type type, |
| 5957 bool load_constant_pool_pointer_reg) { | 5957 bool load_constant_pool_pointer_reg) { |
| 5958 // Out-of-line constant pool not implemented on mips64. | 5958 // Out-of-line constant pool not implemented on mips64. |
| 5959 UNREACHABLE(); | 5959 UNREACHABLE(); |
| 5960 } | 5960 } |
| 5961 | 5961 |
| 5962 | 5962 |
| (...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7057 if (mag.shift > 0) sra(result, result, mag.shift); | 7057 if (mag.shift > 0) sra(result, result, mag.shift); |
| 7058 srl(at, dividend, 31); | 7058 srl(at, dividend, 31); |
| 7059 Addu(result, result, Operand(at)); | 7059 Addu(result, result, Operand(at)); |
| 7060 } | 7060 } |
| 7061 | 7061 |
| 7062 | 7062 |
| 7063 } // namespace internal | 7063 } // namespace internal |
| 7064 } // namespace v8 | 7064 } // namespace v8 |
| 7065 | 7065 |
| 7066 #endif // V8_TARGET_ARCH_MIPS64 | 7066 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |