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

Unified Diff: runtime/vm/code_patcher.h

Issue 8588014: Addition to CodePatcher (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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 | « no previous file | runtime/vm/code_patcher_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_patcher.h
===================================================================
--- runtime/vm/code_patcher.h (revision 1620)
+++ runtime/vm/code_patcher.h (working copy)
@@ -35,6 +35,10 @@
// that there are no conflicts with object pointers).
static bool CodeIsPatchable(const Code& code);
+ // Returns true if the code before return_address is a static
+ // or dynamic Dart call.
+ static bool IsDartCall(uword return_address);
+
// Get static call information.
static void GetStaticCallAt(uword return_address,
Function* function,
« no previous file with comments | « no previous file | runtime/vm/code_patcher_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698