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

Unified Diff: runtime/vm/code_patcher.h

Issue 8351019: Code patching support and tests for new inline caches. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 2 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 | « no previous file | runtime/vm/code_patcher_ia32.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 655)
+++ runtime/vm/code_patcher.h (working copy)
@@ -11,9 +11,11 @@
namespace dart {
// Forward declaration.
+class Array;
class Code;
class ExternalLabel;
class Function;
+class RawArray;
class String;
class CodePatcher : public AllStatic {
@@ -53,6 +55,13 @@
int* num_arguments,
int* num_named_arguments,
uword* target);
+
+ static RawArray* GetInstanceCallIcDataAt(uword return_address);
+
+ static void SetInstanceCallIcDataAt(uword return_address,
+ const Array& ic_data);
+
+ static intptr_t InstanceCallSizeInBytes();
};
} // namespace dart
« no previous file with comments | « no previous file | runtime/vm/code_patcher_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698