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

Unified Diff: runtime/vm/flow_graph_compiler.h

Issue 265443002: VM: Explicitly load function and context before calling a closure. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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 35546)
+++ runtime/vm/flow_graph_compiler.h (working copy)
@@ -416,7 +416,9 @@
Label* AddDeoptStub(intptr_t deopt_id, ICData::DeoptReasonId reason);
- void AddDeoptIndexAtCall(intptr_t deopt_id, intptr_t token_pos);
+ void AddDeoptIndexAtCall(intptr_t deopt_id,
+ intptr_t token_pos,
+ intptr_t stack_adjustment = 0);
srdjan 2014/04/30 15:41:58 Since this is public, please explain briefly what
Florian Schneider 2014/04/30 16:02:19 Done. Added comment to the implementation and rena
void AddSlowPathCode(SlowPathCode* slow_path);
@@ -470,6 +472,7 @@
private:
friend class CheckStackOverflowSlowPath; // For pending_deoptimization_env_.
+ friend class ClosureCallInstr; // For pending_deoptimization_env_.
void EmitFrameEntry();

Powered by Google App Engine
This is Rietveld 408576698