Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index 4d499c60ce88e5acb1435c1ff3c8ac1a3b3d9672..54af2f1a4ba14e4933356652a8e1b64c66647601 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -851,6 +851,7 @@ void BytecodeGenerator::VisitForInAssignment(Expression* expr, |
builder()->StoreAccumulatorInRegister(value); |
Register object = VisitForRegisterValue(property->obj()); |
Handle<String> name = property->key()->AsLiteral()->AsPropertyName(); |
+ builder()->LoadAccumulatorWithRegister(value); |
builder()->StoreNamedProperty(object, name, feedback_index(slot), |
language_mode()); |
break; |