Index: src/preparser.cc |
diff --git a/src/preparser.cc b/src/preparser.cc |
index 1bd33409f002d3d1711c14557fdbdf9ed2b11c98..b5526767539e0795533024198516ddb6dc8af760 100644 |
--- a/src/preparser.cc |
+++ b/src/preparser.cc |
@@ -125,7 +125,7 @@ PreParser::PreParseResult PreParser::PreParseLazyFunction( |
DCHECK_EQ(Token::RBRACE, scanner()->peek()); |
if (scope_->strict_mode() == STRICT) { |
int end_pos = scanner()->location().end_pos; |
- CheckOctalLiteral(start_position, end_pos, &ok); |
+ CheckStrictOctalLiteral(start_position, end_pos, &ok); |
} |
} |
return kPreParseSuccess; |
@@ -937,7 +937,7 @@ PreParser::Expression PreParser::ParseFunctionLiteral( |
} |
int end_position = scanner()->location().end_pos; |
- CheckOctalLiteral(start_position, end_position, CHECK_OK); |
+ CheckStrictOctalLiteral(start_position, end_position, CHECK_OK); |
} |
return Expression::Default(); |