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

Unified Diff: vm/benchmark_test.h

Issue 11275008: - Represent strings internally in UTF-16 format, this makes it (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 2 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
Index: vm/benchmark_test.h
===================================================================
--- vm/benchmark_test.h (revision 14155)
+++ 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);

Powered by Google App Engine
This is Rietveld 408576698