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

Unified Diff: runtime/vm/flow_graph_compiler.h

Issue 296003013: - Reduce the number of Isolate::Current() calls. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
Index: runtime/vm/flow_graph_compiler.h
===================================================================
--- runtime/vm/flow_graph_compiler.h (revision 36483)
+++ runtime/vm/flow_graph_compiler.h (working copy)
@@ -472,6 +472,8 @@
private:
friend class CheckStackOverflowSlowPath; // For pending_deoptimization_env_.
+ Isolate* isolate() const { return isolate_; }
+
void EmitFrameEntry();
void AddStaticCallTarget(const Function& function);
@@ -574,7 +576,8 @@
void EmitSourceLine(Instruction* instr);
- class Assembler* assembler_;
+ Isolate* isolate_;
+ Assembler* assembler_;
const ParsedFunction& parsed_function_;
const FlowGraph& flow_graph_;
const GrowableArray<BlockEntryInstr*>& block_order_;

Powered by Google App Engine
This is Rietveld 408576698