Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: src/mips64/macro-assembler-mips64.cc

Issue 1474293002: [debugger] Remove code to predict step-in target. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix mips Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
4219 } 4219 }
4220 bind(&regular_invoke); 4220 bind(&regular_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
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
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698