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

Unified Diff: runtime/vm/code_patcher.h

Issue 11438017: Pass IC data and arguments descriptor to IC miss runtime functions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | « runtime/vm/code_generator.cc ('k') | 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
diff --git a/runtime/vm/code_patcher.h b/runtime/vm/code_patcher.h
index 8377692fbfc226693c233b77de8ad839a86dcc3b..ce9945f4b743e897ab26e480ddbbb4485b839229 100644
--- a/runtime/vm/code_patcher.h
+++ b/runtime/vm/code_patcher.h
@@ -15,6 +15,7 @@ class Array;
class Code;
class ExternalLabel;
class Function;
+class ICData;
class RawArray;
class RawICData;
class String;
@@ -45,14 +46,12 @@ class CodePatcher : public AllStatic {
static uword GetStaticCallTargetAt(uword return_address);
- // Get instance call information.
- static void GetInstanceCallAt(uword return_address,
- String* function_name,
- int* num_arguments,
- int* num_named_arguments,
- uword* target);
-
- static RawICData* GetInstanceCallIcDataAt(uword return_address);
+ // Get instance call information. Returns the call target and sets each
+ // of the output parameters ic_data and arguments_descriptor if they are
+ // non-NULL.
+ static uword GetInstanceCallAt(uword return_address,
+ ICData* ic_data,
+ Array* arguments_descriptor);
static intptr_t InstanceCallSizeInBytes();
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/code_patcher_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698