diff options
Diffstat (limited to 'deps/v8/src/builtins/builtins-function-gen.cc')
-rw-r--r-- | deps/v8/src/builtins/builtins-function-gen.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/builtins/builtins-function-gen.cc b/deps/v8/src/builtins/builtins-function-gen.cc index 4924d4c0c41..eb4ace31e4c 100644 --- a/deps/v8/src/builtins/builtins-function-gen.cc +++ b/deps/v8/src/builtins/builtins-function-gen.cc @@ -123,8 +123,8 @@ TF_BUILTIN(FastFunctionPrototypeBind, CodeStubAssembler) { GotoIf(Uint32LessThanOrEqual(argc, Int32Constant(1)), &empty_arguments); TNode<IntPtrT> elements_length = Signed(ChangeUint32ToWord(Unsigned(Int32Sub(argc, Int32Constant(1))))); - Node* elements = AllocateFixedArray(PACKED_ELEMENTS, elements_length, - kAllowLargeObjectAllocation); + TNode<FixedArray> elements = CAST(AllocateFixedArray( + PACKED_ELEMENTS, elements_length, kAllowLargeObjectAllocation)); VARIABLE(index, MachineType::PointerRepresentation()); index.Bind(IntPtrConstant(0)); VariableList foreach_vars({&index}, zone()); |