Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(792)

Unified Diff: src/parsing/parser.cc

Issue 2201093004: Rename internal ParseLazy to DoParseLazy to match DoParseProgram (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/parsing/parser.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser.cc
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc
index 603b6c8a33cc78ddbd753511bf0661fe29536845..5e53ece9df044038cef53336e5eaf1a232313c7d 100644
--- a/src/parsing/parser.cc
+++ b/src/parsing/parser.cc
@@ -1066,7 +1066,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) {
@@ -1090,8 +1090,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_);
« no previous file with comments | « src/parsing/parser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698