| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 557fabb679d3c0551e6716ed8721cd9bad54971b..149de4dcf0c5effc3b607a1ec3e53dd279b9a0cd 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -568,10 +568,11 @@ FunctionLiteral* Parser::ParseProgram() {
|
| FunctionLiteral* result;
|
| delete reusable_preparser_;
|
| delete scanner_;
|
| - if (source->IsTwoByteRepresentation())
|
| + if (source->IsTwoByteRepresentation()) {
|
| scanner_ = new ExperimentalScanner<uint16_t>(source, isolate());
|
| - else
|
| + } else {
|
| scanner_ = new ExperimentalScanner<uint8_t>(source, isolate());
|
| + }
|
| SetScannerFlags();
|
| scanner_->Init();
|
| result = DoParseProgram(info(), source);
|
|
|