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

Unified Diff: runtime/vm/benchmark_test.h

Issue 11318018: - Represent strings internally in UTF-16 format, this makes it (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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: 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);
« no previous file with comments | « runtime/lib/string.cc ('k') | runtime/vm/benchmark_test.cc » ('j') | runtime/vm/dart_api_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698