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

Unified Diff: vm/benchmark_test.h

Issue 10280003: Set up a variable so that the compiler script can be imported using an import map. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 8 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 | « bin/run_vm_tests.cc ('k') | vm/benchmark_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/benchmark_test.h
===================================================================
--- vm/benchmark_test.h (revision 7204)
+++ vm/benchmark_test.h (working copy)
@@ -66,11 +66,14 @@
void Run() { (*run_)(this); }
void RunBenchmark();
- static void RunAll();
+ static void RunAll(const char* executable);
+ static void SetExecutable(const char* arg) { executable_ = arg; }
+ static const char* Executable() { return executable_; }
private:
static Benchmark* first_;
static Benchmark* tail_;
+ static const char* executable_;
RunEntry* const run_;
const char* name_;
« no previous file with comments | « bin/run_vm_tests.cc ('k') | vm/benchmark_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698