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

Unified Diff: runtime/vm/benchmark_test.h

Issue 14988005: Fixed bug in vm/benchmark_test.h (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/benchmark_test.h
diff --git a/runtime/vm/benchmark_test.h b/runtime/vm/benchmark_test.h
index ce7f2d052e1ab8ac58883636913869c885ad30de..6b3fcf956b7861464bcdcdcf2df8034433e5e184 100644
--- a/runtime/vm/benchmark_test.h
+++ b/runtime/vm/benchmark_test.h
@@ -23,7 +23,7 @@ DECLARE_FLAG(int, heap_growth_space_ratio);
// of the VM
#define BENCHMARK(name) \
void Dart_Benchmark##name(Benchmark* benchmark); \
- static const Benchmark kRegister##name(Dart_Benchmark##name, #name); \
+ static Benchmark kRegister##name(Dart_Benchmark##name, #name); \
static void Dart_BenchmarkHelper##name(Benchmark* benchmark); \
void Dart_Benchmark##name(Benchmark* benchmark) { \
FLAG_heap_growth_space_ratio = 100; \
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698