Index: runtime/vm/code_patcher_ia32.cc |
=================================================================== |
--- runtime/vm/code_patcher_ia32.cc (revision 1927) |
+++ runtime/vm/code_patcher_ia32.cc (working copy) |
@@ -161,6 +161,12 @@ |
} |
+void CodePatcher::PatchInstanceCallAt(uword return_address, uword new_target) { |
+ InstanceCall call(return_address); |
+ call.set_target(new_target); |
+} |
+ |
+ |
static void SwapCode(intptr_t num_bytes, char* a, char* b) { |
for (intptr_t i = 0; i < num_bytes; i++) { |
char tmp = *a; |