Index: runtime/vm/code_patcher.h |
=================================================================== |
--- runtime/vm/code_patcher.h (revision 1899) |
+++ runtime/vm/code_patcher.h (working copy) |
@@ -22,8 +22,9 @@ |
public: |
// Dart static calls have a distinct, machine-dependent code pattern. |
- // Patch static call to the new target. |
+ // Patch static or instance call to the new target. |
srdjan
2011/11/29 22:26:00
I would use two comments instead of one.
hausner
2011/11/30 01:17:05
Done.
|
static void PatchStaticCallAt(uword addr, uword new_target_address); |
+ static void PatchInstanceCallAt(uword addr, uword new_target_address); |
// Patch entry point with a jump as specified in the code's patch region. |
static void PatchEntry(const Code& code); |