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

Unified Diff: runtime/vm/code_generator_ia32.h

Issue 9460015: Do not count invocations but usage of a function, i.e., increment a function's counter at IC calls … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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
Index: runtime/vm/code_generator_ia32.h
===================================================================
--- runtime/vm/code_generator_ia32.h (revision 4578)
+++ runtime/vm/code_generator_ia32.h (working copy)
@@ -123,10 +123,11 @@
return false;
}
- virtual void CountBackwardLoop();
-
void GenerateReturnEpilog(ReturnNode* node);
+ // Return true if the VM may optimize functions.
+ static bool CanOptimize();
+
private:
// TODO(srdjan): Remove the friendship once the two compilers are properly
// structured.

Powered by Google App Engine
This is Rietveld 408576698