OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. |
6 #if defined(TARGET_ARCH_X64) | 6 #if defined(TARGET_ARCH_X64) |
7 | 7 |
8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
9 | 9 |
10 #include "vm/dart_entry.h" | 10 #include "vm/dart_entry.h" |
(...skipping 5810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5821 &label, | 5821 &label, |
5822 PcDescriptors::kOther, | 5822 PcDescriptors::kOther, |
5823 locs()); | 5823 locs()); |
5824 __ Drop(ArgumentCount()); // Discard arguments. | 5824 __ Drop(ArgumentCount()); // Discard arguments. |
5825 } | 5825 } |
5826 | 5826 |
5827 | 5827 |
5828 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 5828 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
5829 ASSERT(!compiler->is_optimizing()); | 5829 ASSERT(!compiler->is_optimizing()); |
5830 const ExternalLabel label(StubCode::DebugStepCheckEntryPoint()); | 5830 const ExternalLabel label(StubCode::DebugStepCheckEntryPoint()); |
5831 __ movq(R10, Immediate(0)); | |
5832 __ movq(RBX, Immediate(0)); | |
5833 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 5831 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
5834 #if defined(DEBUG) | 5832 #if defined(DEBUG) |
5835 __ movq(R10, Immediate(kInvalidObjectPointer)); | 5833 __ movq(R10, Immediate(kInvalidObjectPointer)); |
5836 __ movq(RBX, Immediate(kInvalidObjectPointer)); | 5834 __ movq(RBX, Immediate(kInvalidObjectPointer)); |
5837 #endif | 5835 #endif |
5838 } | 5836 } |
5839 | 5837 |
5840 } // namespace dart | 5838 } // namespace dart |
5841 | 5839 |
5842 #undef __ | 5840 #undef __ |
5843 | 5841 |
5844 #endif // defined TARGET_ARCH_X64 | 5842 #endif // defined TARGET_ARCH_X64 |
OLD | NEW |