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

Unified Diff: src/objects.h

Issue 10828229: Add basic support for Latin1 strings to the API. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 1c7a9e325d82db2a66ae69c8d1da963d8c1bdd5d..de2e76586a97c6fa017d2a24cade6f78bbb21b37 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -7132,6 +7132,10 @@ class String: public HeapObject {
friend class String;
};
+ enum AsciiHint { MAYBE_ASCII = 0,
+ STRICT_ASCII = 1,
+ 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