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

Unified Diff: src/compiler/pipeline.h

Issue 484273003: Load closure from activation for building literals. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Load closure from activation for building literals. Created 6 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/compiler/pipeline.h
diff --git a/src/compiler/pipeline.h b/src/compiler/pipeline.h
index 9f8241a63c4ee4984f2f261f333a6447ce849c09..558f108a2f7da72fb3a92073e8f5e19a41280e75 100644
--- a/src/compiler/pipeline.h
+++ b/src/compiler/pipeline.h
@@ -24,7 +24,9 @@ class Linkage;
class Pipeline {
public:
- explicit Pipeline(CompilationInfo* info) : info_(info) {}
+ explicit Pipeline(CompilationInfo* info,
+ bool context_specialization = FLAG_context_specialization)
+ : info_(info), context_specialization_(context_specialization) {}
titzer 2014/08/21 09:56:35 Let's make this a mutable field and not a construc
sigurds 2014/08/21 12:29:00 Done.
// Run the entire pipeline and generate a handle to a code object.
Handle<Code> GenerateCode();
@@ -42,6 +44,7 @@ class Pipeline {
private:
CompilationInfo* info_;
+ bool context_specialization_;
CompilationInfo* info() const { return info_; }
Isolate* isolate() { return info_->isolate(); }

Powered by Google App Engine
This is Rietveld 408576698