| 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_ARM. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
| 6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
| 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 4434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4445 __ bkpt(0); | 4445 __ bkpt(0); |
| 4446 } | 4446 } |
| 4447 | 4447 |
| 4448 | 4448 |
| 4449 LocationSummary* ReThrowInstr::MakeLocationSummary() const { | 4449 LocationSummary* ReThrowInstr::MakeLocationSummary() const { |
| 4450 return new LocationSummary(0, 0, LocationSummary::kCall); | 4450 return new LocationSummary(0, 0, LocationSummary::kCall); |
| 4451 } | 4451 } |
| 4452 | 4452 |
| 4453 | 4453 |
| 4454 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4454 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4455 compiler->SetNeedsStacktrace(catch_try_index()); |
| 4455 compiler->GenerateCallRuntime(token_pos(), | 4456 compiler->GenerateCallRuntime(token_pos(), |
| 4456 deopt_id(), | 4457 deopt_id(), |
| 4457 kReThrowRuntimeEntry, | 4458 kReThrowRuntimeEntry, |
| 4458 2, | 4459 2, |
| 4459 locs()); | 4460 locs()); |
| 4460 __ bkpt(0); | 4461 __ bkpt(0); |
| 4461 } | 4462 } |
| 4462 | 4463 |
| 4463 | 4464 |
| 4464 void TargetEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4465 void TargetEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4699 compiler->GenerateCall(token_pos(), | 4700 compiler->GenerateCall(token_pos(), |
| 4700 &label, | 4701 &label, |
| 4701 PcDescriptors::kOther, | 4702 PcDescriptors::kOther, |
| 4702 locs()); | 4703 locs()); |
| 4703 __ Drop(2); // Discard type arguments and receiver. | 4704 __ Drop(2); // Discard type arguments and receiver. |
| 4704 } | 4705 } |
| 4705 | 4706 |
| 4706 } // namespace dart | 4707 } // namespace dart |
| 4707 | 4708 |
| 4708 #endif // defined TARGET_ARCH_ARM | 4709 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |