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

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
« no previous file with comments | « runtime/vm/code_generator_arm.h ('k') | runtime/vm/code_generator_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator_ia32.h
===================================================================
--- runtime/vm/code_generator_ia32.h (revision 4582)
+++ 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.
« no previous file with comments | « runtime/vm/code_generator_arm.h ('k') | runtime/vm/code_generator_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698