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

Unified Diff: runtime/vm/code_patcher.h

Issue 8687037: Very first steps for a debugger (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
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);

Powered by Google App Engine
This is Rietveld 408576698