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_IA32. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. |
6 #if defined(TARGET_ARCH_IA32) | 6 #if defined(TARGET_ARCH_IA32) |
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 6579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6590 __ int3(); | 6590 __ int3(); |
6591 } | 6591 } |
6592 | 6592 |
6593 | 6593 |
6594 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const { | 6594 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const { |
6595 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall); | 6595 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall); |
6596 } | 6596 } |
6597 | 6597 |
6598 | 6598 |
6599 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 6599 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
6600 compiler->SetNeedsStacktrace(catch_try_index()); | 6600 compiler->SetNeedsStackTrace(catch_try_index()); |
6601 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry, | 6601 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry, |
6602 2, locs()); | 6602 2, locs()); |
6603 __ int3(); | 6603 __ int3(); |
6604 } | 6604 } |
6605 | 6605 |
6606 | 6606 |
6607 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const { | 6607 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const { |
6608 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); | 6608 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); |
6609 } | 6609 } |
6610 | 6610 |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6939 __ Drop(1); | 6939 __ Drop(1); |
6940 __ popl(result); | 6940 __ popl(result); |
6941 } | 6941 } |
6942 | 6942 |
6943 | 6943 |
6944 } // namespace dart | 6944 } // namespace dart |
6945 | 6945 |
6946 #undef __ | 6946 #undef __ |
6947 | 6947 |
6948 #endif // defined TARGET_ARCH_IA32 | 6948 #endif // defined TARGET_ARCH_IA32 |
OLD | NEW |