| 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_MIPS | 7 #if V8_TARGET_ARCH_MIPS |
| 8 | 8 |
| 9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
| 10 #include "src/base/division-by-constant.h" | 10 #include "src/base/division-by-constant.h" |
| (...skipping 5335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5346 } else { | 5346 } else { |
| 5347 PushStandardFrame(a1); | 5347 PushStandardFrame(a1); |
| 5348 nop(Assembler::CODE_AGE_SEQUENCE_NOP); | 5348 nop(Assembler::CODE_AGE_SEQUENCE_NOP); |
| 5349 } | 5349 } |
| 5350 } | 5350 } |
| 5351 | 5351 |
| 5352 | 5352 |
| 5353 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { | 5353 void MacroAssembler::EmitLoadTypeFeedbackVector(Register vector) { |
| 5354 lw(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); | 5354 lw(vector, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
| 5355 lw(vector, FieldMemOperand(vector, JSFunction::kFeedbackVectorOffset)); | 5355 lw(vector, FieldMemOperand(vector, JSFunction::kFeedbackVectorOffset)); |
| 5356 lw(vector, FieldMemOperand(vector, Cell::kValueOffset)); |
| 5356 } | 5357 } |
| 5357 | 5358 |
| 5358 | 5359 |
| 5359 void MacroAssembler::EnterFrame(StackFrame::Type type, | 5360 void MacroAssembler::EnterFrame(StackFrame::Type type, |
| 5360 bool load_constant_pool_pointer_reg) { | 5361 bool load_constant_pool_pointer_reg) { |
| 5361 // Out-of-line constant pool not implemented on mips. | 5362 // Out-of-line constant pool not implemented on mips. |
| 5362 UNREACHABLE(); | 5363 UNREACHABLE(); |
| 5363 } | 5364 } |
| 5364 | 5365 |
| 5365 | 5366 |
| (...skipping 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6534 if (mag.shift > 0) sra(result, result, mag.shift); | 6535 if (mag.shift > 0) sra(result, result, mag.shift); |
| 6535 srl(at, dividend, 31); | 6536 srl(at, dividend, 31); |
| 6536 Addu(result, result, Operand(at)); | 6537 Addu(result, result, Operand(at)); |
| 6537 } | 6538 } |
| 6538 | 6539 |
| 6539 | 6540 |
| 6540 } // namespace internal | 6541 } // namespace internal |
| 6541 } // namespace v8 | 6542 } // namespace v8 |
| 6542 | 6543 |
| 6543 #endif // V8_TARGET_ARCH_MIPS | 6544 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |