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

Unified Diff: src/compiler/pipeline.h

Issue 507603003: Move context specialization flag into CompilationInfo. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
« no previous file with comments | « src/compiler.h ('k') | src/compiler/pipeline.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/pipeline.h
diff --git a/src/compiler/pipeline.h b/src/compiler/pipeline.h
index fce0952c4170b9b213fe1154c0416fee1295a990..9f8241a63c4ee4984f2f261f333a6447ce849c09 100644
--- a/src/compiler/pipeline.h
+++ b/src/compiler/pipeline.h
@@ -24,8 +24,7 @@ class Linkage;
class Pipeline {
public:
- explicit Pipeline(CompilationInfo* info)
- : info_(info), context_specialization_(FLAG_context_specialization) {}
+ explicit Pipeline(CompilationInfo* info) : info_(info) {}
// Run the entire pipeline and generate a handle to a code object.
Handle<Code> GenerateCode();
@@ -40,14 +39,9 @@ class Pipeline {
static void SetUp();
static void TearDown();
- bool context_specialization() { return context_specialization_; }
- void set_context_specialization(bool context_specialization) {
- context_specialization_ = context_specialization;
- }
private:
CompilationInfo* info_;
- bool context_specialization_;
CompilationInfo* info() const { return info_; }
Isolate* isolate() { return info_->isolate(); }
« no previous file with comments | « src/compiler.h ('k') | src/compiler/pipeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698