| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 #if V8_TARGET_ARCH_ARM64 | 5 #if V8_TARGET_ARCH_ARM64 |
| 6 | 6 |
| 7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
| 8 #include "src/base/division-by-constant.h" | 8 #include "src/base/division-by-constant.h" |
| 9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
| 10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
| (...skipping 2390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2401 } | 2401 } |
| 2402 } | 2402 } |
| 2403 Bind(®ular_invoke); | 2403 Bind(®ular_invoke); |
| 2404 } | 2404 } |
| 2405 | 2405 |
| 2406 | 2406 |
| 2407 void MacroAssembler::FloodFunctionIfStepping(Register fun, Register new_target, | 2407 void MacroAssembler::FloodFunctionIfStepping(Register fun, Register new_target, |
| 2408 const ParameterCount& expected, | 2408 const ParameterCount& expected, |
| 2409 const ParameterCount& actual) { | 2409 const ParameterCount& actual) { |
| 2410 Label skip_flooding; | 2410 Label skip_flooding; |
| 2411 ExternalReference debug_step_action = | 2411 ExternalReference step_in_enabled = |
| 2412 ExternalReference::debug_last_step_action_address(isolate()); | 2412 ExternalReference::debug_step_in_enabled_address(isolate()); |
| 2413 Mov(x4, Operand(debug_step_action)); | 2413 Mov(x4, Operand(step_in_enabled)); |
| 2414 ldrb(x4, MemOperand(x4)); | 2414 ldrb(x4, MemOperand(x4)); |
| 2415 CompareAndBranch(x4, Operand(StepIn), ne, &skip_flooding); | 2415 CompareAndBranch(x4, Operand(0), eq, &skip_flooding); |
| 2416 { | 2416 { |
| 2417 FrameScope frame(this, | 2417 FrameScope frame(this, |
| 2418 has_frame() ? StackFrame::NONE : StackFrame::INTERNAL); | 2418 has_frame() ? StackFrame::NONE : StackFrame::INTERNAL); |
| 2419 if (expected.is_reg()) { | 2419 if (expected.is_reg()) { |
| 2420 SmiTag(expected.reg()); | 2420 SmiTag(expected.reg()); |
| 2421 Push(expected.reg()); | 2421 Push(expected.reg()); |
| 2422 } | 2422 } |
| 2423 if (actual.is_reg()) { | 2423 if (actual.is_reg()) { |
| 2424 SmiTag(actual.reg()); | 2424 SmiTag(actual.reg()); |
| 2425 Push(actual.reg()); | 2425 Push(actual.reg()); |
| (...skipping 2543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4969 } | 4969 } |
| 4970 | 4970 |
| 4971 | 4971 |
| 4972 #undef __ | 4972 #undef __ |
| 4973 | 4973 |
| 4974 | 4974 |
| 4975 } // namespace internal | 4975 } // namespace internal |
| 4976 } // namespace v8 | 4976 } // namespace v8 |
| 4977 | 4977 |
| 4978 #endif // V8_TARGET_ARCH_ARM64 | 4978 #endif // V8_TARGET_ARCH_ARM64 |
| OLD | NEW |