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/cpu.h" | 10 #include "vm/cpu.h" |
(...skipping 6619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6630 compiler->SetNeedsStacktrace(catch_try_index()); | 6630 compiler->SetNeedsStacktrace(catch_try_index()); |
6631 compiler->GenerateRuntimeCall(token_pos(), | 6631 compiler->GenerateRuntimeCall(token_pos(), |
6632 deopt_id(), | 6632 deopt_id(), |
6633 kReThrowRuntimeEntry, | 6633 kReThrowRuntimeEntry, |
6634 2, | 6634 2, |
6635 locs()); | 6635 locs()); |
6636 __ bkpt(0); | 6636 __ bkpt(0); |
6637 } | 6637 } |
6638 | 6638 |
6639 | 6639 |
| 6640 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, |
| 6641 bool opt) const { |
| 6642 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); |
| 6643 } |
| 6644 |
| 6645 |
| 6646 void StopInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 6647 __ Stop(message()); |
| 6648 } |
| 6649 |
| 6650 |
6640 void GraphEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 6651 void GraphEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
6641 if (!compiler->CanFallThroughTo(normal_entry())) { | 6652 if (!compiler->CanFallThroughTo(normal_entry())) { |
6642 __ b(compiler->GetJumpLabel(normal_entry())); | 6653 __ b(compiler->GetJumpLabel(normal_entry())); |
6643 } | 6654 } |
6644 } | 6655 } |
6645 | 6656 |
6646 | 6657 |
6647 LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone, | 6658 LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone, |
6648 bool opt) const { | 6659 bool opt) const { |
6649 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); | 6660 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6873 1, | 6884 1, |
6874 locs()); | 6885 locs()); |
6875 __ Drop(1); | 6886 __ Drop(1); |
6876 __ Pop(result); | 6887 __ Pop(result); |
6877 } | 6888 } |
6878 | 6889 |
6879 | 6890 |
6880 } // namespace dart | 6891 } // namespace dart |
6881 | 6892 |
6882 #endif // defined TARGET_ARCH_ARM | 6893 #endif // defined TARGET_ARCH_ARM |
OLD | NEW |