| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index d0e01fc371521e28b744cae920a07387912aa3f0..a738634d425855876f6b3732f0eeb3bd1ddd1330 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -859,7 +859,7 @@ FunctionLiteral* Parser::ParseProgram() {
|
| (*cached_data_)->Initialize();
|
| }
|
|
|
| - source->TryFlatten();
|
| + source = String::Flatten(source);
|
| FunctionLiteral* result;
|
| if (source->IsExternalTwoByteString()) {
|
| // Notice that the stream is destroyed at the end of the branch block.
|
| @@ -998,7 +998,7 @@ FunctionLiteral* Parser::ParseLazy() {
|
| Handle<SharedFunctionInfo> shared_info = info()->shared_info();
|
|
|
| // Initialize parser state.
|
| - source->TryFlatten();
|
| + source = String::Flatten(source);
|
| FunctionLiteral* result;
|
| if (source->IsExternalTwoByteString()) {
|
| ExternalTwoByteStringUtf16CharacterStream stream(
|
|
|