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

Unified Diff: runtime/vm/code_patcher.h

Issue 17554003: Change static calls in unoptimized code to always call via a stub. Using ICData, the call count of … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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/code_patcher.h
===================================================================
--- runtime/vm/code_patcher.h (revision 24288)
+++ runtime/vm/code_patcher.h (working copy)
@@ -17,6 +17,7 @@
class Function;
class ICData;
class RawArray;
+class RawFunction;
class RawICData;
class String;
@@ -55,6 +56,10 @@
const Code& code,
ICData* ic_data);
+ // Return target of an unoptimized static call (calls target via a stub).
+ static RawFunction* GetUnoptimizedStaticCallTargetAt(uword return_address,
+ const Code& code);
+
// Return the arguments descriptor array of the closure call
// before the given return address.
static RawArray* GetClosureArgDescAt(uword return_address,

Powered by Google App Engine
This is Rietveld 408576698