Index: src/compiler/js-intrinsic-lowering.h |
diff --git a/src/compiler/js-intrinsic-lowering.h b/src/compiler/js-intrinsic-lowering.h |
index d33dd8bfa36a23fa6987118b27335f84306fc81d..0e0e6118b137ebb95ffcc196e5d8e6631c1b5bb6 100644 |
--- a/src/compiler/js-intrinsic-lowering.h |
+++ b/src/compiler/js-intrinsic-lowering.h |
@@ -10,6 +10,11 @@ |
namespace v8 { |
namespace internal { |
+ |
+// Forward declarations. |
+class TypeCache; |
+ |
+ |
namespace compiler { |
// Forward declarations. |
@@ -57,7 +62,13 @@ class JSIntrinsicLowering final : public AdvancedReducer { |
Reduction ReduceGetTypeFeedbackVector(Node* node); |
Reduction ReduceGetCallerJSFunction(Node* node); |
Reduction ReduceThrowNotDateError(Node* node); |
+ Reduction ReduceToInteger(Node* node); |
+ Reduction ReduceToLength(Node* node); |
+ Reduction ReduceToName(Node* node); |
+ Reduction ReduceToNumber(Node* node); |
Reduction ReduceToObject(Node* node); |
+ Reduction ReduceToPrimitive(Node* node); |
+ Reduction ReduceToString(Node* node); |
Reduction ReduceCallFunction(Node* node); |
Reduction Change(Node* node, const Operator* op); |
@@ -69,14 +80,17 @@ class JSIntrinsicLowering final : public AdvancedReducer { |
Graph* graph() const; |
JSGraph* jsgraph() const { return jsgraph_; } |
+ Isolate* isolate() const; |
CommonOperatorBuilder* common() const; |
JSOperatorBuilder* javascript() const; |
MachineOperatorBuilder* machine() const; |
SimplifiedOperatorBuilder* simplified() const; |
DeoptimizationMode mode() const { return mode_; } |
+ TypeCache const& type_cache() const { return type_cache_; } |
JSGraph* const jsgraph_; |
DeoptimizationMode const mode_; |
+ TypeCache const& type_cache_; |
}; |
} // namespace compiler |