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

Unified Diff: runtime/vm/code_generator_arm.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.cc ('k') | runtime/vm/code_generator_ia32.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator_arm.h
===================================================================
--- runtime/vm/code_generator_arm.h (revision 4582)
+++ runtime/vm/code_generator_arm.h (working copy)
@@ -47,6 +47,9 @@
int num_arguments,
const Array& optional_arguments_names);
+ // Return true if the VM may optimize functions.
+ static bool CanOptimize();
+
private:
// Forward declarations.
class DescriptorList;
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/code_generator_ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698