Chromium Code Reviews| Index: src/compiler/js-typed-lowering.h |
| diff --git a/src/compiler/js-typed-lowering.h b/src/compiler/js-typed-lowering.h |
| index 2aafb7270b106e31e8fe2c0aa4735f4ec89cf10e..c43c5e71c6716d74af52cb422d90bb04f129af04 100644 |
| --- a/src/compiler/js-typed-lowering.h |
| +++ b/src/compiler/js-typed-lowering.h |
| @@ -5,6 +5,7 @@ |
| #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_ |
| #define V8_COMPILER_JS_TYPED_LOWERING_H_ |
| +#include "src/compilation-dependencies.h" |
|
Michael Starzinger
2015/11/09 19:59:59
nit: The class can be forward-declared, no need fo
sigurds
2015/11/10 09:39:44
Done.
|
| #include "src/compiler/graph-reducer.h" |
| #include "src/compiler/opcodes.h" |
| @@ -28,7 +29,8 @@ class SimplifiedOperatorBuilder; |
| // Lowers JS-level operators to simplified operators based on types. |
| class JSTypedLowering final : public AdvancedReducer { |
| public: |
| - JSTypedLowering(Editor* editor, JSGraph* jsgraph, Zone* zone); |
| + JSTypedLowering(Editor* editor, CompilationDependencies* dependencies, |
| + JSGraph* jsgraph, Zone* zone); |
| ~JSTypedLowering() final {} |
| Reduction Reduce(Node* node) final; |
| @@ -44,6 +46,7 @@ class JSTypedLowering final : public AdvancedReducer { |
| Reduction ReduceJSLoadNamed(Node* node); |
| Reduction ReduceJSLoadProperty(Node* node); |
| Reduction ReduceJSStoreProperty(Node* node); |
| + Reduction ReduceJSInstanceOf(Node* node); |
| Reduction ReduceJSLoadContext(Node* node); |
| Reduction ReduceJSStoreContext(Node* node); |
| Reduction ReduceJSEqual(Node* node, bool invert); |
| @@ -87,11 +90,13 @@ class JSTypedLowering final : public AdvancedReducer { |
| CommonOperatorBuilder* common() const; |
| SimplifiedOperatorBuilder* simplified() const; |
| MachineOperatorBuilder* machine() const; |
| + CompilationDependencies* dependencies() const; |
| // Limits up to which context allocations are inlined. |
| static const int kFunctionContextAllocationLimit = 16; |
| static const int kBlockContextAllocationLimit = 16; |
| + CompilationDependencies* dependencies_; |
| JSGraph* jsgraph_; |
| Type* shifted_int32_ranges_[4]; |
| }; |