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_MIPS. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS. |
6 #if defined(TARGET_ARCH_MIPS) | 6 #if defined(TARGET_ARCH_MIPS) |
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 5363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5374 compiler->SetNeedsStacktrace(catch_try_index()); | 5374 compiler->SetNeedsStacktrace(catch_try_index()); |
5375 compiler->GenerateRuntimeCall(token_pos(), | 5375 compiler->GenerateRuntimeCall(token_pos(), |
5376 deopt_id(), | 5376 deopt_id(), |
5377 kReThrowRuntimeEntry, | 5377 kReThrowRuntimeEntry, |
5378 2, | 5378 2, |
5379 locs()); | 5379 locs()); |
5380 __ break_(0); | 5380 __ break_(0); |
5381 } | 5381 } |
5382 | 5382 |
5383 | 5383 |
| 5384 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, |
| 5385 bool opt) const { |
| 5386 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); |
| 5387 } |
| 5388 |
| 5389 |
| 5390 void StopInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 5391 __ Stop(message()); |
| 5392 } |
| 5393 |
| 5394 |
5384 void GraphEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 5395 void GraphEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
5385 if (!compiler->CanFallThroughTo(normal_entry())) { | 5396 if (!compiler->CanFallThroughTo(normal_entry())) { |
5386 __ b(compiler->GetJumpLabel(normal_entry())); | 5397 __ b(compiler->GetJumpLabel(normal_entry())); |
5387 } | 5398 } |
5388 } | 5399 } |
5389 | 5400 |
5390 | 5401 |
5391 LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone, | 5402 LocationSummary* GotoInstr::MakeLocationSummary(Zone* zone, |
5392 bool opt) const { | 5403 bool opt) const { |
5393 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); | 5404 return new(zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5616 1, | 5627 1, |
5617 locs()); | 5628 locs()); |
5618 __ lw(result, Address(SP, 1 * kWordSize)); | 5629 __ lw(result, Address(SP, 1 * kWordSize)); |
5619 __ addiu(SP, SP, Immediate(2 * kWordSize)); | 5630 __ addiu(SP, SP, Immediate(2 * kWordSize)); |
5620 } | 5631 } |
5621 | 5632 |
5622 | 5633 |
5623 } // namespace dart | 5634 } // namespace dart |
5624 | 5635 |
5625 #endif // defined TARGET_ARCH_MIPS | 5636 #endif // defined TARGET_ARCH_MIPS |
OLD | NEW |