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

Unified Diff: runtime/vm/code_patcher.h

Issue 24744002: Pattern match on generated code to find edge counters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Incorporated review comments. Created 7 years, 3 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 | « runtime/vm/block_scheduler.cc ('k') | runtime/vm/code_patcher_arm.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 fea3ba41ff895c35510e65bc0d22143246d5f5ec..9294e0e4f1631ec4a5f337e99195ded29dc82059 100644
--- a/runtime/vm/code_patcher.h
+++ b/runtime/vm/code_patcher.h
@@ -19,6 +19,7 @@ class ICData;
class RawArray;
class RawFunction;
class RawICData;
+class RawObject;
class String;
class CodePatcher : public AllStatic {
@@ -70,6 +71,8 @@ class CodePatcher : public AllStatic {
static intptr_t InstanceCallSizeInBytes();
static void InsertCallAt(uword start, uword target);
+
+ static RawObject* GetEdgeCounterAt(uword pc, const Code& code);
};
} // namespace dart
« no previous file with comments | « runtime/vm/block_scheduler.cc ('k') | runtime/vm/code_patcher_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698