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:
parent
437cf79455
commit
46f98c7154
@ -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_);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user