Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 10abba731bb12c7b9adf2b40e216bb68d8f99c70..58bb4a85c2aecfe7d0ca44bc175f9603102205fd 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -120,7 +120,13 @@ class Factory { |
// flags in the parser. |
Handle<String> NewStringFromUtf8( |
Vector<const char> str, |
- PretenureFlag pretenure = NOT_TENURED); |
+ PretenureFlag pretenure = NOT_TENURED, |
+ String::AsciiHint ascii_hint = String::MAYBE_ASCII); |
+ |
+ Handle<String> NewStringFromLatin1( |
+ Vector<const char> str, |
+ PretenureFlag pretenure = NOT_TENURED, |
+ String::AsciiHint ascii_hint = String::MAYBE_ASCII); |
Handle<String> NewStringFromTwoByte( |
Vector<const uc16> str, |