Chromium Code Reviews| Index: src/compiler/pipeline.h |
| diff --git a/src/compiler/pipeline.h b/src/compiler/pipeline.h |
| index fce0952c4170b9b213fe1154c0416fee1295a990..794c94422205ae0d4e684e11e2aa9c1721f16062 100644 |
| --- a/src/compiler/pipeline.h |
| +++ b/src/compiler/pipeline.h |
| @@ -25,7 +25,9 @@ class Linkage; |
| class Pipeline { |
| public: |
| explicit Pipeline(CompilationInfo* info) |
| - : info_(info), context_specialization_(FLAG_context_specialization) {} |
| + : info_(info), |
| + context_specialization_(FLAG_context_specialization), |
| + inlining_(FLAG_turbo_inlining) {} |
| // Run the entire pipeline and generate a handle to a code object. |
| Handle<Code> GenerateCode(); |
| @@ -44,10 +46,13 @@ class Pipeline { |
| void set_context_specialization(bool context_specialization) { |
| context_specialization_ = context_specialization; |
| } |
| + bool inlining() { return inlining_; } |
| + void set_inlining(bool inlining) { inlining_ = inlining; } |
| private: |
| CompilationInfo* info_; |
| bool context_specialization_; |
| + bool inlining_; |
|
Michael Starzinger
2014/08/25 14:15:57
I don't think this should be carried along in the
|
| CompilationInfo* info() const { return info_; } |
| Isolate* isolate() { return info_->isolate(); } |