Chromium Code Reviews| Index: runtime/vm/benchmark_test.h |
| =================================================================== |
| --- runtime/vm/benchmark_test.h (revision 14314) |
| +++ runtime/vm/benchmark_test.h (working copy) |
| @@ -35,6 +35,11 @@ |
| static void Dart_BenchmarkHelper##name(Benchmark* benchmark) |
| +inline Dart_Handle NewString(const char* str) { |
| + return Dart_NewStringFromCString(str); |
| +} |
| + |
| + |
| class Benchmark { |
| public: |
| typedef void (RunEntry)(Benchmark* benchmark); |