Rename internal ParseLazy to DoParseLazy to match DoParseProgram

R=verwaest@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2201093004
Cr-Commit-Position: refs/heads/master@{#38310}
This commit is contained in:
jochen 2016-08-03 10:28:04 -07:00 committed by Commit bot
parent 437cf79455
commit 46f98c7154
2 changed files with 5 additions and 5 deletions

View File

@ -1080,7 +1080,7 @@ FunctionLiteral* Parser::ParseLazy(Isolate* isolate, ParseInfo* info) {
stream.reset(new GenericStringUtf16CharacterStream(
source, shared_info->start_position(), shared_info->end_position()));
}
result = ParseLazy(isolate, info, stream.get());
result = DoParseLazy(isolate, info, stream.get());
}
if (FLAG_trace_parse && result != NULL) {
@ -1104,8 +1104,8 @@ static FunctionLiteral::FunctionType ComputeFunctionType(
return FunctionLiteral::kAnonymousExpression;
}
FunctionLiteral* Parser::ParseLazy(Isolate* isolate, ParseInfo* info,
Utf16CharacterStream* source) {
FunctionLiteral* Parser::DoParseLazy(Isolate* isolate, ParseInfo* info,
Utf16CharacterStream* source) {
Handle<SharedFunctionInfo> shared_info = info->shared_info();
scanner_.Initialize(source);
DCHECK_NULL(scope_state_);

View File

@ -749,8 +749,8 @@ class Parser : public ParserBase<ParserTraits> {
FunctionLiteral* ParseProgram(Isolate* isolate, ParseInfo* info);
FunctionLiteral* ParseLazy(Isolate* isolate, ParseInfo* info);
FunctionLiteral* ParseLazy(Isolate* isolate, ParseInfo* info,
Utf16CharacterStream* source);
FunctionLiteral* DoParseLazy(Isolate* isolate, ParseInfo* info,
Utf16CharacterStream* source);
// Called by ParseProgram after setting up the scanner.
FunctionLiteral* DoParseProgram(ParseInfo* info);