Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index e9e43e5250cb81b6c4cc4693176c3632626f17b2..9ad51574c162ce65895e3025119957515ddefc8d 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -2742,7 +2742,7 @@ compiler::Node* NonEmptyShallowClone(CodeStubAssembler* assembler, |
ParameterMode param_mode = assembler->OptimalParameterMode(); |
Node* length = assembler->LoadJSArrayLength(boilerplate); |
- capacity = assembler->UntagParameter(capacity, param_mode); |
+ capacity = assembler->TaggedToParameter(capacity, param_mode); |
Node *array, *elements; |
std::tie(array, elements) = |
@@ -2760,7 +2760,7 @@ compiler::Node* NonEmptyShallowClone(CodeStubAssembler* assembler, |
assembler->LoadObjectField(boilerplate_elements, offset)); |
} |
- length = assembler->UntagParameter(length, param_mode); |
+ length = assembler->TaggedToParameter(length, param_mode); |
assembler->Comment("copy boilerplate elements"); |
assembler->CopyFixedArrayElements(kind, boilerplate_elements, elements, |