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

Unified Diff: runtime/vm/code_generator.cc

Issue 10828018: Add support for fixed parameters in the register allocator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase, fix off by one in deopt stub generation Created 8 years, 5 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 | « no previous file | runtime/vm/flow_graph_allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator.cc
diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc
index dd20c04d032da41cdb659abc8e820f88ec43825d..d006df3341093e55754b67383566213ca13ec5be 100644
--- a/runtime/vm/code_generator.cc
+++ b/runtime/vm/code_generator.cc
@@ -1332,9 +1332,8 @@ DEFINE_RUNTIME_ENTRY(OptimizeInvokedFunction, 1) {
return;
}
if ((FLAG_optimization_filter != NULL) &&
- (strncmp(function.ToFullyQualifiedCString(),
- FLAG_optimization_filter,
- strlen(FLAG_optimization_filter)) != 0)) {
+ (strstr(function.ToFullyQualifiedCString(),
+ FLAG_optimization_filter) == NULL)) {
function.set_usage_counter(kLowInvocationCount);
return;
}
« no previous file with comments | « no previous file | runtime/vm/flow_graph_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698