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

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

Issue 11883023: Collect debugging info for catch clauses (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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.h ('k') | runtime/vm/object.h » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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/intermediate_language.h" 5 #include "vm/intermediate_language.h"
6 6
7 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
8 #include "vm/dart_entry.h" 8 #include "vm/dart_entry.h"
9 #include "vm/flow_graph_allocator.h" 9 #include "vm/flow_graph_allocator.h"
10 #include "vm/flow_graph_builder.h" 10 #include "vm/flow_graph_builder.h"
(...skipping 1786 matching lines...) Expand 10 before | Expand all | Expand 10 after
1797 if (HasParallelMove()) { 1797 if (HasParallelMove()) {
1798 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); 1798 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move());
1799 } 1799 }
1800 } 1800 }
1801 1801
1802 1802
1803 void TargetEntryInstr::PrepareEntry(FlowGraphCompiler* compiler) { 1803 void TargetEntryInstr::PrepareEntry(FlowGraphCompiler* compiler) {
1804 __ Bind(compiler->GetBlockLabel(this)); 1804 __ Bind(compiler->GetBlockLabel(this));
1805 if (IsCatchEntry()) { 1805 if (IsCatchEntry()) {
1806 compiler->AddExceptionHandler(catch_try_index(), 1806 compiler->AddExceptionHandler(catch_try_index(),
1807 compiler->assembler()->CodeSize()); 1807 try_index(),
1808 compiler->assembler()->CodeSize(),
1809 catch_handler_types_);
1808 } 1810 }
1809 if (HasParallelMove()) { 1811 if (HasParallelMove()) {
1810 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); 1812 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move());
1811 } 1813 }
1812 } 1814 }
1813 1815
1814 1816
1815 LocationSummary* GraphEntryInstr::MakeLocationSummary() const { 1817 LocationSummary* GraphEntryInstr::MakeLocationSummary() const {
1816 UNREACHABLE(); 1818 UNREACHABLE();
1817 return NULL; 1819 return NULL;
(...skipping 1157 matching lines...) Expand 10 before | Expand all | Expand 10 after
2975 default: 2977 default:
2976 UNREACHABLE(); 2978 UNREACHABLE();
2977 return -1; 2979 return -1;
2978 } 2980 }
2979 } 2981 }
2980 2982
2981 2983
2982 #undef __ 2984 #undef __
2983 2985
2984 } // namespace dart 2986 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698