| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 6f86647ef5911348cda4fa55bb590e39d4334b27..0f4ef0676536226011c9d4668052d35be14bf2ab 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -272,10 +272,12 @@ Handle<String> Factory::NewStringFromUtf8(Vector<const char> string,
|
|
|
|
|
| Handle<String> Factory::NewStringFromTwoByte(Vector<const uc16> string,
|
| + bool check_for_one_byte,
|
| PretenureFlag pretenure) {
|
| CALL_HEAP_FUNCTION(
|
| isolate(),
|
| - isolate()->heap()->AllocateStringFromTwoByte(string, pretenure),
|
| + isolate()->heap()->AllocateStringFromTwoByte(
|
| + string, check_for_one_byte, pretenure),
|
| String);
|
| }
|
|
|
|
|