Index: src/compiler/js-typed-lowering.h |
diff --git a/src/compiler/js-typed-lowering.h b/src/compiler/js-typed-lowering.h |
index 8664f3cb80384d0e2b90bd4239fc08d815cc4d82..46a2f58b470a400cf1b3c3a341041fe796349deb 100644 |
--- a/src/compiler/js-typed-lowering.h |
+++ b/src/compiler/js-typed-lowering.h |
@@ -15,6 +15,7 @@ namespace internal { |
// Forward declarations. |
class CompilationDependencies; |
class Factory; |
+class TypeCache; |
namespace compiler { |
@@ -86,12 +87,17 @@ class JSTypedLowering final : public AdvancedReducer { |
Reduction ReduceInt32Binop(Node* node, const Operator* intOp); |
Reduction ReduceUI32Shift(Node* node, Signedness left_signedness, |
const Operator* shift_op); |
+ Reduction ReduceNewArray(Node* node, Node* length, int capacity, |
+ Handle<AllocationSite> site); |
Node* Word32Shl(Node* const lhs, int32_t const rhs); |
Node* AllocateArguments(Node* effect, Node* control, Node* frame_state); |
Node* AllocateAliasedArguments(Node* effect, Node* control, Node* frame_state, |
Node* context, Handle<SharedFunctionInfo>, |
bool* has_aliased_arguments); |
+ Node* AllocateElements(Node* effect, Node* control, |
+ ElementsKind elements_kind, int capacity, |
+ PretenureFlag pretenure); |
Factory* factory() const; |
Graph* graph() const; |
@@ -112,6 +118,7 @@ class JSTypedLowering final : public AdvancedReducer { |
Flags flags_; |
JSGraph* jsgraph_; |
Type* shifted_int32_ranges_[4]; |
+ TypeCache const& type_cache_; |
}; |
DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) |