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

Unified Diff: src/compiler/pipeline.h

Issue 473263004: Towards removing dependency from generic lowering on compilation info. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add strict mode to store nodes. 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 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_;
CompilationInfo* info() const { return info_; }
Isolate* isolate() { return info_->isolate(); }
« no previous file with comments | « src/compiler/js-operator.h ('k') | src/compiler/pipeline.cc » ('j') | tools/run-tests.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698