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_IA32. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. |
6 #if defined(TARGET_ARCH_IA32) | 6 #if defined(TARGET_ARCH_IA32) |
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 6295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6306 &label, | 6306 &label, |
6307 PcDescriptors::kOther, | 6307 PcDescriptors::kOther, |
6308 locs()); | 6308 locs()); |
6309 __ Drop(ArgumentCount()); // Discard arguments. | 6309 __ Drop(ArgumentCount()); // Discard arguments. |
6310 } | 6310 } |
6311 | 6311 |
6312 | 6312 |
6313 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 6313 void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
6314 ASSERT(!compiler->is_optimizing()); | 6314 ASSERT(!compiler->is_optimizing()); |
6315 const ExternalLabel label(StubCode::DebugStepCheckEntryPoint()); | 6315 const ExternalLabel label(StubCode::DebugStepCheckEntryPoint()); |
6316 __ movl(EDX, Immediate(0)); | |
6317 __ movl(ECX, Immediate(0)); | |
6318 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); | 6316 compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
6319 #if defined(DEBUG) | 6317 #if defined(DEBUG) |
6320 __ movl(EDX, Immediate(kInvalidObjectPointer)); | 6318 __ movl(EDX, Immediate(kInvalidObjectPointer)); |
6321 __ movl(EDX, Immediate(kInvalidObjectPointer)); | 6319 __ movl(EDX, Immediate(kInvalidObjectPointer)); |
6322 #endif | 6320 #endif |
6323 } | 6321 } |
6324 | 6322 |
6325 } // namespace dart | 6323 } // namespace dart |
6326 | 6324 |
6327 #undef __ | 6325 #undef __ |
6328 | 6326 |
6329 #endif // defined TARGET_ARCH_IA32 | 6327 #endif // defined TARGET_ARCH_IA32 |
OLD | NEW |