| 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 4553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4564 __ int3(); | 4564 __ int3(); |
| 4565 } | 4565 } |
| 4566 | 4566 |
| 4567 | 4567 |
| 4568 LocationSummary* ReThrowInstr::MakeLocationSummary() const { | 4568 LocationSummary* ReThrowInstr::MakeLocationSummary() const { |
| 4569 return new LocationSummary(0, 0, LocationSummary::kCall); | 4569 return new LocationSummary(0, 0, LocationSummary::kCall); |
| 4570 } | 4570 } |
| 4571 | 4571 |
| 4572 | 4572 |
| 4573 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4573 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4574 compiler->SetNeedsStacktrace(catch_try_index()); |
| 4574 compiler->GenerateCallRuntime(token_pos(), | 4575 compiler->GenerateCallRuntime(token_pos(), |
| 4575 deopt_id(), | 4576 deopt_id(), |
| 4576 kReThrowRuntimeEntry, | 4577 kReThrowRuntimeEntry, |
| 4577 2, | 4578 2, |
| 4578 locs()); | 4579 locs()); |
| 4579 __ int3(); | 4580 __ int3(); |
| 4580 } | 4581 } |
| 4581 | 4582 |
| 4582 | 4583 |
| 4583 void TargetEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4584 void TargetEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4880 PcDescriptors::kOther, | 4881 PcDescriptors::kOther, |
| 4881 locs()); | 4882 locs()); |
| 4882 __ Drop(2); // Discard type arguments and receiver. | 4883 __ Drop(2); // Discard type arguments and receiver. |
| 4883 } | 4884 } |
| 4884 | 4885 |
| 4885 } // namespace dart | 4886 } // namespace dart |
| 4886 | 4887 |
| 4887 #undef __ | 4888 #undef __ |
| 4888 | 4889 |
| 4889 #endif // defined TARGET_ARCH_X64 | 4890 #endif // defined TARGET_ARCH_X64 |
| OLD | NEW |