Index: src/builtins/builtins-internal.cc |
diff --git a/src/builtins/builtins-internal.cc b/src/builtins/builtins-internal.cc |
index 83a50ce6eebd26c7b168a6fa40c92bc6639fb84b..67a0370473c42f47b2d481372cbd6b5639ecf711 100644 |
--- a/src/builtins/builtins-internal.cc |
+++ b/src/builtins/builtins-internal.cc |
@@ -67,7 +67,7 @@ void Builtins::Generate_CopyFastSmiOrObjectElements( |
Node* source = assembler.LoadObjectField(object, JSObject::kElementsOffset); |
CodeStubAssembler::ParameterMode mode = assembler.OptimalParameterMode(); |
- Node* length = assembler.UntagParameter( |
+ Node* length = assembler.TaggedToParameter( |
assembler.LoadFixedArrayBaseLength(source), mode); |
// Check if we can allocate in new space. |