Chromium Code Reviews| 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(); } |