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

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
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 1779 matching lines...) Expand 10 before | Expand all | Expand 10 after
1790 if (HasParallelMove()) { 1790 if (HasParallelMove()) {
1791 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); 1791 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move());
1792 } 1792 }
1793 } 1793 }
1794 1794
1795 1795
1796 void TargetEntryInstr::PrepareEntry(FlowGraphCompiler* compiler) { 1796 void TargetEntryInstr::PrepareEntry(FlowGraphCompiler* compiler) {
1797 __ Bind(compiler->GetBlockLabel(this)); 1797 __ Bind(compiler->GetBlockLabel(this));
1798 if (IsCatchEntry()) { 1798 if (IsCatchEntry()) {
1799 compiler->AddExceptionHandler(catch_try_index(), 1799 compiler->AddExceptionHandler(catch_try_index(),
1800 compiler->assembler()->CodeSize()); 1800 try_index(),
1801 compiler->assembler()->CodeSize(),
1802 catch_handler_types_);
1801 } 1803 }
1802 if (HasParallelMove()) { 1804 if (HasParallelMove()) {
1803 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move()); 1805 compiler->parallel_move_resolver()->EmitNativeCode(parallel_move());
1804 } 1806 }
1805 } 1807 }
1806 1808
1807 1809
1808 LocationSummary* GraphEntryInstr::MakeLocationSummary() const { 1810 LocationSummary* GraphEntryInstr::MakeLocationSummary() const {
1809 UNREACHABLE(); 1811 UNREACHABLE();
1810 return NULL; 1812 return NULL;
(...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after
2961 default: 2963 default:
2962 UNREACHABLE(); 2964 UNREACHABLE();
2963 return -1; 2965 return -1;
2964 } 2966 }
2965 } 2967 }
2966 2968
2967 2969
2968 #undef __ 2970 #undef __
2969 2971
2970 } // namespace dart 2972 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/object.h » ('j') | runtime/vm/object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698