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

Side by Side Diff: runtime/vm/flow_graph_compiler.h

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/flow_graph_builder.cc ('k') | runtime/vm/flow_graph_compiler.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) 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 #ifndef VM_FLOW_GRAPH_COMPILER_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_H_
6 #define VM_FLOW_GRAPH_COMPILER_H_ 6 #define VM_FLOW_GRAPH_COMPILER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/code_descriptors.h" 10 #include "vm/code_descriptors.h"
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 397
398 // Returns true if there is a next block after the current one in 398 // Returns true if there is a next block after the current one in
399 // the block order and if it is the given block. 399 // the block order and if it is the given block.
400 bool CanFallThroughTo(BlockEntryInstr* block_entry) const; 400 bool CanFallThroughTo(BlockEntryInstr* block_entry) const;
401 401
402 void AddExceptionHandler(intptr_t try_index, 402 void AddExceptionHandler(intptr_t try_index,
403 intptr_t outer_try_index, 403 intptr_t outer_try_index,
404 intptr_t pc_offset, 404 intptr_t pc_offset,
405 const Array& handler_types, 405 const Array& handler_types,
406 bool needs_stacktrace); 406 bool needs_stacktrace);
407 void SetNeedsStacktrace(intptr_t try_index);
407 void AddCurrentDescriptor(PcDescriptors::Kind kind, 408 void AddCurrentDescriptor(PcDescriptors::Kind kind,
408 intptr_t deopt_id, 409 intptr_t deopt_id,
409 intptr_t token_pos); 410 intptr_t token_pos);
410 411
411 void RecordSafepoint(LocationSummary* locs); 412 void RecordSafepoint(LocationSummary* locs);
412 413
413 Label* AddDeoptStub(intptr_t deopt_id, DeoptReasonId reason); 414 Label* AddDeoptStub(intptr_t deopt_id, DeoptReasonId reason);
414 415
415 void AddDeoptIndexAtCall(intptr_t deopt_id, intptr_t token_pos); 416 void AddDeoptIndexAtCall(intptr_t deopt_id, intptr_t token_pos);
416 417
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 // that should be used when deoptimizing we store it in this variable. 604 // that should be used when deoptimizing we store it in this variable.
604 // In future AddDeoptStub should be moved out of the instruction template. 605 // In future AddDeoptStub should be moved out of the instruction template.
605 Environment* pending_deoptimization_env_; 606 Environment* pending_deoptimization_env_;
606 607
607 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 608 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
608 }; 609 };
609 610
610 } // namespace dart 611 } // namespace dart
611 612
612 #endif // VM_FLOW_GRAPH_COMPILER_H_ 613 #endif // VM_FLOW_GRAPH_COMPILER_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698