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

Unified Diff: runtime/vm/flow_graph_compiler.h

Issue 14682020: Optimize functions containing try-catch. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: rebased Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/flow_graph_compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler.h
===================================================================
--- runtime/vm/flow_graph_compiler.h (revision 22613)
+++ runtime/vm/flow_graph_compiler.h (working copy)
@@ -244,6 +244,9 @@
const GrowableArray<BlockEntryInstr*>& block_order() const {
return block_order_;
}
+
+ const FlowGraph& flow_graph() const { return flow_graph_; }
+
DescriptorList* pc_descriptors_list() const {
return pc_descriptors_list_;
}
@@ -380,6 +383,8 @@
// Fallthrough calls super equality.
void EmitSuperEqualityCallPrologue(Register result, Label* skip_call);
+ void EmitTrySync(Instruction* instr, intptr_t try_index);
+
intptr_t StackSize() const;
// Returns assembler label associated with the given block entry.
@@ -464,6 +469,8 @@
void EmitFrameEntry();
+ void EmitTrySyncMove(Address dest, Location loc, bool* push_emitted);
+
void AddStaticCallTarget(const Function& function);
void GenerateDeferredCode();
« 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