Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Side by Side Diff: runtime/vm/intermediate_language_x64.cc

Issue 23691024: If a rethrow is encountered in the catch block, then its handler must be marked that it needs stack… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/intermediate_language_mips.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 4553 matching lines...) Expand 10 before | Expand all | Expand 10 after
4564 __ int3(); 4564 __ int3();
4565 } 4565 }
4566 4566
4567 4567
4568 LocationSummary* ReThrowInstr::MakeLocationSummary() const { 4568 LocationSummary* ReThrowInstr::MakeLocationSummary() const {
4569 return new LocationSummary(0, 0, LocationSummary::kCall); 4569 return new LocationSummary(0, 0, LocationSummary::kCall);
4570 } 4570 }
4571 4571
4572 4572
4573 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 4573 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
4574 compiler->SetNeedsStacktrace(catch_try_index());
4574 compiler->GenerateCallRuntime(token_pos(), 4575 compiler->GenerateCallRuntime(token_pos(),
4575 deopt_id(), 4576 deopt_id(),
4576 kReThrowRuntimeEntry, 4577 kReThrowRuntimeEntry,
4577 2, 4578 2,
4578 locs()); 4579 locs());
4579 __ int3(); 4580 __ int3();
4580 } 4581 }
4581 4582
4582 4583
4583 void TargetEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 4584 void TargetEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
4880 PcDescriptors::kOther, 4881 PcDescriptors::kOther,
4881 locs()); 4882 locs());
4882 __ Drop(2); // Discard type arguments and receiver. 4883 __ Drop(2); // Discard type arguments and receiver.
4883 } 4884 }
4884 4885
4885 } // namespace dart 4886 } // namespace dart
4886 4887
4887 #undef __ 4888 #undef __
4888 4889
4889 #endif // defined TARGET_ARCH_X64 4890 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_mips.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698