Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index f654b5aa83b4cec5967879ab60f390da47254236..405cebe45fa9aed5ec3c7d386d6f33ac54531fd5 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -179,21 +179,21 @@ Handle<String> Factory::NewStringFromTwoByte(Vector<const uc16> string, |
} |
-Handle<String> Factory::NewRawAsciiString(int length, |
- PretenureFlag pretenure) { |
+Handle<SeqAsciiString> Factory::NewRawAsciiString(int length, |
+ PretenureFlag pretenure) { |
CALL_HEAP_FUNCTION( |
isolate(), |
isolate()->heap()->AllocateRawAsciiString(length, pretenure), |
- String); |
+ SeqAsciiString); |
} |
-Handle<String> Factory::NewRawTwoByteString(int length, |
- PretenureFlag pretenure) { |
+Handle<SeqTwoByteString> Factory::NewRawTwoByteString(int length, |
+ PretenureFlag pretenure) { |
CALL_HEAP_FUNCTION( |
isolate(), |
isolate()->heap()->AllocateRawTwoByteString(length, pretenure), |
- String); |
+ SeqTwoByteString); |
} |
@@ -214,7 +214,7 @@ Handle<String> Factory::NewSubString(Handle<String> str, |
} |
-Handle<String> Factory::NewStrictSubString(Handle<String> str, |
+Handle<String> Factory::NewProperSubString(Handle<String> str, |
int begin, |
int end) { |
ASSERT(begin > 0 || end < str->length()); |