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

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: addressed comments. 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
« no previous file with comments | « src/heap-inl.h ('k') | src/v8-counters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index b7f3132e761a85a8e37f574c2a379ea93c1db096..158ac16a2e294a316affad48db05e4ab8d235b43 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,
+ ASCII = 1,
+ NOT_ASCII = 2 };
+
// Get and set the length of the string.
inline int length();
inline void set_length(int value);
« no previous file with comments | « src/heap-inl.h ('k') | src/v8-counters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698