Chromium Code Reviews| Index: src/preparser.cc |
| diff --git a/src/preparser.cc b/src/preparser.cc |
| index 3173cc0f900255aa1d764736d8c6f70d51da0ddb..edf3f77bed193d31422b1050a160653ce10aecb8 100644 |
| --- a/src/preparser.cc |
| +++ b/src/preparser.cc |
| @@ -78,10 +78,10 @@ PreParserIdentifier PreParserTraits::GetSymbol(Scanner* scanner) { |
| if (scanner->UnescapedLiteralMatches("arguments", 9)) { |
| return PreParserIdentifier::Arguments(); |
| } |
| - if (scanner->UnescapedLiteralMatches("prototype", 9)) { |
| + if (scanner->LiteralMatches("prototype", 9)) { |
|
caitp (gmail)
2014/10/09 13:38:43
actually, given https://people.mozilla.org/~jorend
|
| return PreParserIdentifier::Prototype(); |
| } |
| - if (scanner->UnescapedLiteralMatches("constructor", 11)) { |
| + if (scanner->LiteralMatches("constructor", 11)) { |
| return PreParserIdentifier::Constructor(); |
| } |
| return PreParserIdentifier::Default(); |