Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index bf30ec9ab19498f1f59ef16f1f488e965761a0b1..f36cdfc3977bf426b82f6249f91bd8dad5f1da4f 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -703,6 +703,10 @@ void CodeGenerator::TranslateStateValueDescriptor( |
TranslateStateValueDescriptor(field.desc, field.nested, translation, |
iter); |
} |
+ } else if (desc->IsArguments()) { |
+ if (translation != nullptr) { |
+ translation->BeginArgumentsObject(0); |
+ } |
} else if (desc->IsDuplicate()) { |
if (translation != nullptr) { |
translation->DuplicateObject(static_cast<int>(desc->id())); |