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

Unified Diff: src/parsing/parser.h

Issue 2198043002: Add a mode to completely deserialize scope chains (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates 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
Index: src/parsing/parser.h
diff --git a/src/parsing/parser.h b/src/parsing/parser.h
index 5c7442bb9e02188bbf8b51cbfec4cef4ade92526..e32494d35388ae1a0b6cdb075027397121f301eb 100644
--- a/src/parsing/parser.h
+++ b/src/parsing/parser.h
@@ -722,6 +722,10 @@ class Parser : public ParserBase<ParserTraits> {
void Internalize(Isolate* isolate, Handle<Script> script, bool error);
void HandleSourceURLComments(Isolate* isolate, Handle<Script> script);
+ void set_original_scope(Scope* original_scope) {
+ original_scope_ = original_scope;
+ }
+
private:
friend class ParserTraits;
friend class DiscardableZoneScope;

Powered by Google App Engine
This is Rietveld 408576698