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

Unified Diff: src/objects.h

Issue 10857030: Add basic support for Latin1 to the API. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: removed MakeExternal(ExternalLatin1StringResource*) and added counters. Created 8 years, 4 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: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index b7f3132e761a85a8e37f574c2a379ea93c1db096..5dde614abf14ea2f3783cd458735f3cf24f7ca97 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -7093,6 +7093,10 @@ class String: public HeapObject {
friend class String;
};
+ enum AsciiHint { MAYBE_ASCII = 0,
+ STRICT_ASCII = 1,
Erik Corry 2012/08/21 12:21:34 Again, the STRICT_ seems wrong.
Yang 2012/08/21 13:06:20 Done.
+ NOT_ASCII = 2 };
+
// Get and set the length of the string.
inline int length();
inline void set_length(int value);

Powered by Google App Engine
This is Rietveld 408576698