| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_ARM64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. |
| 6 #if defined(TARGET_ARCH_ARM64) | 6 #if defined(TARGET_ARCH_ARM64) |
| 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 5387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5398 compiler->SetNeedsStacktrace(catch_try_index()); | 5398 compiler->SetNeedsStacktrace(catch_try_index()); |
| 5399 compiler->GenerateRuntimeCall(token_pos(), | 5399 compiler->GenerateRuntimeCall(token_pos(), |
| 5400 deopt_id(), | 5400 deopt_id(), |
| 5401 kReThrowRuntimeEntry, | 5401 kReThrowRuntimeEntry, |
| 5402 2, | 5402 2, |
| 5403 locs()); | 5403 locs()); |
| 5404 __ brk(0); | 5404 __ brk(0); |
| 5405 } | 5405 } |
| 5406 | 5406 |
| 5407 | 5407 |
| 5408 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, |
| 5409 bool opt) const { |
| 5410 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); |
| 5411 } |
| 5412 |
| 5413 |
| 5414 void StopInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5415 __ Stop(message()); |
| 5416 } |
| 5417 |
| 5418 |
| 5408 void GraphEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 5419 void GraphEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5409 if (!compiler->CanFallThroughTo(normal_entry())) { | 5420 if (!compiler->CanFallThroughTo(normal_entry())) { |
| 5410 __ b(compiler->GetJumpLabel(normal_entry())); | 5421 __ b(compiler->GetJumpLabel(normal_entry())); |
| 5411 } | 5422 } |
| 5412 } | 5423 } |
| 5413 | 5424 |
| 5414 | 5425 |
| 5415 LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone, | 5426 LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone, |
| 5416 bool opt) const { | 5427 bool opt) const { |
| 5417 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); | 5428 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5635 1, | 5646 1, |
| 5636 locs()); | 5647 locs()); |
| 5637 __ Drop(1); | 5648 __ Drop(1); |
| 5638 __ Pop(result); | 5649 __ Pop(result); |
| 5639 } | 5650 } |
| 5640 | 5651 |
| 5641 | 5652 |
| 5642 } // namespace dart | 5653 } // namespace dart |
| 5643 | 5654 |
| 5644 #endif // defined TARGET_ARCH_ARM64 | 5655 #endif // defined TARGET_ARCH_ARM64 |
| OLD | NEW |