Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index ebf0ed4933faadafc4c6d430ad17e80c35c1b9e3..68d664f07b98abb7bf4317b2c565addecd3b6fbe 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -702,6 +702,10 @@ void CodeGenerator::TranslateStateValueDescriptor( |
if (translation != nullptr) { |
translation->ArgumentsElements(desc->is_rest()); |
} |
+ } else if (desc->IsArgumentsLength()) { |
+ if (translation != nullptr) { |
+ translation->ArgumentsLength(desc->is_rest()); |
+ } |
} else if (desc->IsDuplicate()) { |
if (translation != nullptr) { |
translation->DuplicateObject(static_cast<int>(desc->id())); |