| 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 4208 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 4219     } | 4219     } | 
| 4220     bind(®ular_invoke); | 4220     bind(®ular_invoke); | 
| 4221   } | 4221   } | 
| 4222 } | 4222 } | 
| 4223 | 4223 | 
| 4224 | 4224 | 
| 4225 void MacroAssembler::FloodFunctionIfStepping(Register fun, Register new_target, | 4225 void MacroAssembler::FloodFunctionIfStepping(Register fun, Register new_target, | 
| 4226                                              const ParameterCount& expected, | 4226                                              const ParameterCount& expected, | 
| 4227                                              const ParameterCount& actual) { | 4227                                              const ParameterCount& actual) { | 
| 4228   Label skip_flooding; | 4228   Label skip_flooding; | 
| 4229   ExternalReference debug_step_action = | 4229   ExternalReference step_in_enabled = | 
| 4230       ExternalReference::debug_last_step_action_address(isolate()); | 4230       ExternalReference::debug_step_in_enabled_address(isolate()); | 
| 4231   li(t0, Operand(debug_step_action)); | 4231   li(t0, Operand(step_in_enabled)); | 
| 4232   lb(t0, MemOperand(t0)); | 4232   lb(t0, MemOperand(t0)); | 
| 4233   Branch(&skip_flooding, ne, t0, Operand(StepIn)); | 4233   Branch(&skip_flooding, eq, t0, Operand(zero_reg)); | 
| 4234   { | 4234   { | 
| 4235     FrameScope frame(this, | 4235     FrameScope frame(this, | 
| 4236                      has_frame() ? StackFrame::NONE : StackFrame::INTERNAL); | 4236                      has_frame() ? StackFrame::NONE : StackFrame::INTERNAL); | 
| 4237     if (expected.is_reg()) { | 4237     if (expected.is_reg()) { | 
| 4238       SmiTag(expected.reg()); | 4238       SmiTag(expected.reg()); | 
| 4239       Push(expected.reg()); | 4239       Push(expected.reg()); | 
| 4240     } | 4240     } | 
| 4241     if (actual.is_reg()) { | 4241     if (actual.is_reg()) { | 
| 4242       SmiTag(actual.reg()); | 4242       SmiTag(actual.reg()); | 
| 4243       Push(actual.reg()); | 4243       Push(actual.reg()); | 
| (...skipping 2040 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 6284   if (mag.shift > 0) sra(result, result, mag.shift); | 6284   if (mag.shift > 0) sra(result, result, mag.shift); | 
| 6285   srl(at, dividend, 31); | 6285   srl(at, dividend, 31); | 
| 6286   Addu(result, result, Operand(at)); | 6286   Addu(result, result, Operand(at)); | 
| 6287 } | 6287 } | 
| 6288 | 6288 | 
| 6289 | 6289 | 
| 6290 }  // namespace internal | 6290 }  // namespace internal | 
| 6291 }  // namespace v8 | 6291 }  // namespace v8 | 
| 6292 | 6292 | 
| 6293 #endif  // V8_TARGET_ARCH_MIPS64 | 6293 #endif  // V8_TARGET_ARCH_MIPS64 | 
| OLD | NEW | 
|---|