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

Unified Diff: src/compiler/js-context-specialization.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/change-lowering.cc ('k') | src/compiler/js-context-specialization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-context-specialization.h
diff --git a/src/compiler/js-context-specialization.h b/src/compiler/js-context-specialization.h
index b707755fc7cb2b9d14f80e66106e2161dbdd347d..520a3cf80b9e60db4c2a4f5ed1c731032e74eeac 100644
--- a/src/compiler/js-context-specialization.h
+++ b/src/compiler/js-context-specialization.h
@@ -9,6 +9,8 @@
#include "src/compiler/js-graph.h"
#include "src/contexts.h"
+#include "src/compiler.h"
+
namespace v8 {
namespace internal {
namespace compiler {
@@ -17,8 +19,8 @@ namespace compiler {
// some {LoadContext} nodes or strength reducing some {StoreContext} nodes.
class JSContextSpecializer : public Reducer {
public:
- JSContextSpecializer(CompilationInfo* info, JSGraph* jsgraph, Node* context)
- : info_(info), jsgraph_(jsgraph), context_(context) {}
+ JSContextSpecializer(Handle<Context> ctx, JSGraph* jsgraph, Node* context)
+ : ctx_(ctx), jsgraph_(jsgraph), context_(context) {}
Reduction Reduce(Node* node) OVERRIDE;
@@ -27,7 +29,7 @@ class JSContextSpecializer : public Reducer {
Reduction ReduceJSStoreContext(Node* node);
private:
- CompilationInfo* info_;
+ Handle<Context> ctx_;
JSGraph* jsgraph_;
Node* context_;
};
« no previous file with comments | « src/compiler/change-lowering.cc ('k') | src/compiler/js-context-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698