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/compiler.h" | 10 #include "vm/compiler.h" |
(...skipping 5758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5769 __ break_(0); | 5769 __ break_(0); |
5770 } | 5770 } |
5771 | 5771 |
5772 | 5772 |
5773 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const { | 5773 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const { |
5774 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall); | 5774 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall); |
5775 } | 5775 } |
5776 | 5776 |
5777 | 5777 |
5778 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 5778 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
5779 compiler->SetNeedsStacktrace(catch_try_index()); | 5779 compiler->SetNeedsStackTrace(catch_try_index()); |
5780 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry, | 5780 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry, |
5781 2, locs()); | 5781 2, locs()); |
5782 __ break_(0); | 5782 __ break_(0); |
5783 } | 5783 } |
5784 | 5784 |
5785 | 5785 |
5786 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const { | 5786 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const { |
5787 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); | 5787 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); |
5788 } | 5788 } |
5789 | 5789 |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6009 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(), | 6009 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(), |
6010 kGrowRegExpStackRuntimeEntry, 1, locs()); | 6010 kGrowRegExpStackRuntimeEntry, 1, locs()); |
6011 __ lw(result, Address(SP, 1 * kWordSize)); | 6011 __ lw(result, Address(SP, 1 * kWordSize)); |
6012 __ addiu(SP, SP, Immediate(2 * kWordSize)); | 6012 __ addiu(SP, SP, Immediate(2 * kWordSize)); |
6013 } | 6013 } |
6014 | 6014 |
6015 | 6015 |
6016 } // namespace dart | 6016 } // namespace dart |
6017 | 6017 |
6018 #endif // defined TARGET_ARCH_MIPS | 6018 #endif // defined TARGET_ARCH_MIPS |
OLD | NEW |