| 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/dart_entry.h" | 10 #include "vm/dart_entry.h" |
| (...skipping 4780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4791 __ int3(); | 4791 __ int3(); |
| 4792 } | 4792 } |
| 4793 | 4793 |
| 4794 | 4794 |
| 4795 LocationSummary* ReThrowInstr::MakeLocationSummary() const { | 4795 LocationSummary* ReThrowInstr::MakeLocationSummary() const { |
| 4796 return new LocationSummary(0, 0, LocationSummary::kCall); | 4796 return new LocationSummary(0, 0, LocationSummary::kCall); |
| 4797 } | 4797 } |
| 4798 | 4798 |
| 4799 | 4799 |
| 4800 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4800 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| 4801 compiler->SetNeedsStacktrace(catch_try_index()); |
| 4801 compiler->GenerateCallRuntime(token_pos(), | 4802 compiler->GenerateCallRuntime(token_pos(), |
| 4802 deopt_id(), | 4803 deopt_id(), |
| 4803 kReThrowRuntimeEntry, | 4804 kReThrowRuntimeEntry, |
| 4804 2, | 4805 2, |
| 4805 locs()); | 4806 locs()); |
| 4806 __ int3(); | 4807 __ int3(); |
| 4807 } | 4808 } |
| 4808 | 4809 |
| 4809 | 4810 |
| 4810 void TargetEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { | 4811 void TargetEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5264 PcDescriptors::kOther, | 5265 PcDescriptors::kOther, |
| 5265 locs()); | 5266 locs()); |
| 5266 __ Drop(2); // Discard type arguments and receiver. | 5267 __ Drop(2); // Discard type arguments and receiver. |
| 5267 } | 5268 } |
| 5268 | 5269 |
| 5269 } // namespace dart | 5270 } // namespace dart |
| 5270 | 5271 |
| 5271 #undef __ | 5272 #undef __ |
| 5272 | 5273 |
| 5273 #endif // defined TARGET_ARCH_IA32 | 5274 #endif // defined TARGET_ARCH_IA32 |
| OLD | NEW |