Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index e8f1f1508800bb9137f2bf69df97f35c5733b554..957ab903739d6fe186ed7429a3ed0a06cf7fc11f 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -1790,6 +1790,8 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
void FullCodeGenerator::VisitAssignment(Assignment* expr) { |
+ AssignmentPattern* pattern = expr->target()->AsAssignmentPattern(); |
+ if (pattern && pattern->is_rewritten()) return Visit(pattern); |
DCHECK(expr->target()->IsValidReferenceExpressionOrThis()); |
Comment cmnt(masm_, "[ Assignment"); |