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

Unified Diff: src/compiler/js-generic-lowering.h

Issue 899803003: Removed most of the bogus CompilationInfo constructor calls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/js-context-specialization.cc ('k') | src/compiler/js-generic-lowering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-generic-lowering.h
diff --git a/src/compiler/js-generic-lowering.h b/src/compiler/js-generic-lowering.h
index e6fc88ebf7236c6b1bb103884090daff84e83ec7..82e18c6064f551759a21a907906132c2b583234d 100644
--- a/src/compiler/js-generic-lowering.h
+++ b/src/compiler/js-generic-lowering.h
@@ -26,7 +26,7 @@ class Linkage;
// Lowers JS-level operators to runtime and IC calls in the "generic" case.
class JSGenericLowering FINAL : public Reducer {
public:
- JSGenericLowering(CompilationInfo* info, JSGraph* graph);
+ JSGenericLowering(bool is_typing_enabled, JSGraph* graph);
~JSGenericLowering() FINAL {}
Reduction Reduce(Node* node) FINAL;
@@ -51,18 +51,15 @@ class JSGenericLowering FINAL : public Reducer {
bool TryLowerDirectJSCall(Node* node);
Zone* zone() const { return graph()->zone(); }
- Isolate* isolate() const { return info_->isolate(); }
+ Isolate* isolate() const { return jsgraph()->isolate(); }
JSGraph* jsgraph() const { return jsgraph_; }
Graph* graph() const { return jsgraph()->graph(); }
- Linkage* linkage() const { return linkage_; }
- CompilationInfo* info() const { return info_; }
CommonOperatorBuilder* common() const { return jsgraph()->common(); }
MachineOperatorBuilder* machine() const { return jsgraph()->machine(); }
private:
- CompilationInfo* info_;
+ bool is_typing_enabled_;
JSGraph* jsgraph_;
- Linkage* linkage_;
};
} // namespace compiler
« no previous file with comments | « src/compiler/js-context-specialization.cc ('k') | src/compiler/js-generic-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698