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

Unified Diff: runtime/vm/unicode.h

Issue 10452006: Implement a heap profiler for the Dart managed heap. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: added basic test code Created 8 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
Index: runtime/vm/unicode.h
diff --git a/runtime/vm/unicode.h b/runtime/vm/unicode.h
index 4301addebd42fb43f5bb58731ef22abd5f039348..00e51a1ea786fbdd481ed2c5a04750a19d73bd39 100644
--- a/runtime/vm/unicode.h
+++ b/runtime/vm/unicode.h
@@ -24,7 +24,7 @@ class Utf8 : AllStatic {
static intptr_t Length(int32_t ch);
static intptr_t Length(const String& str);
- static void Encode(int32_t ch, char* dst);
+ static intptr_t Encode(int32_t ch, char* dst);
static intptr_t Encode(const String& src, char* dst, intptr_t len);
static intptr_t Decode(const char*, int32_t* ch);
« runtime/vm/raw_object.h ('K') | « runtime/vm/scavenger.cc ('k') | runtime/vm/unicode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698