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

Unified Diff: src/parsing/parse-info.h

Issue 2684033007: Allow a ParseInfo without a script for %SetCode users (Closed)
Patch Set: Some comments. Created 3 years, 10 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/parse-info.h
diff --git a/src/parsing/parse-info.h b/src/parsing/parse-info.h
index 83b7f79f5fbc8f84bf150ac5b9e2cb1ffbc0dafb..a53626fdce255613f49d5934dbe84d216ffac5a4 100644
--- a/src/parsing/parse-info.h
+++ b/src/parsing/parse-info.h
@@ -42,6 +42,8 @@ class V8_EXPORT_PRIVATE ParseInfo {
~ParseInfo();
+ static ParseInfo* AllocateWithoutScript(Handle<SharedFunctionInfo> shared);
+
Zone* zone() const { return zone_.get(); }
std::shared_ptr<Zone> zone_shared() const { return zone_; }

Powered by Google App Engine
This is Rietveld 408576698