| 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_X64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64. |
| 6 #if defined(TARGET_ARCH_X64) | 6 #if defined(TARGET_ARCH_X64) |
| 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 6509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6520 __ int3(); | 6520 __ int3(); |
| 6521 } | 6521 } |
| 6522 | 6522 |
| 6523 | 6523 |
| 6524 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const { | 6524 LocationSummary* ReThrowInstr::MakeLocationSummary(Zone* zone, bool opt) const { |
| 6525 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall); | 6525 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kCall); |
| 6526 } | 6526 } |
| 6527 | 6527 |
| 6528 | 6528 |
| 6529 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 6529 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 6530 compiler->SetNeedsStacktrace(catch_try_index()); | 6530 compiler->SetNeedsStackTrace(catch_try_index()); |
| 6531 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry, | 6531 compiler->GenerateRuntimeCall(token_pos(), deopt_id(), kReThrowRuntimeEntry, |
| 6532 2, locs()); | 6532 2, locs()); |
| 6533 __ int3(); | 6533 __ int3(); |
| 6534 } | 6534 } |
| 6535 | 6535 |
| 6536 | 6536 |
| 6537 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const { | 6537 LocationSummary* StopInstr::MakeLocationSummary(Zone* zone, bool opt) const { |
| 6538 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); | 6538 return new (zone) LocationSummary(zone, 0, 0, LocationSummary::kNoCall); |
| 6539 } | 6539 } |
| 6540 | 6540 |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6808 __ Drop(1); | 6808 __ Drop(1); |
| 6809 __ popq(result); | 6809 __ popq(result); |
| 6810 } | 6810 } |
| 6811 | 6811 |
| 6812 | 6812 |
| 6813 } // namespace dart | 6813 } // namespace dart |
| 6814 | 6814 |
| 6815 #undef __ | 6815 #undef __ |
| 6816 | 6816 |
| 6817 #endif // defined TARGET_ARCH_X64 | 6817 #endif // defined TARGET_ARCH_X64 |
| OLD | NEW |