| Index: src/x87/full-codegen-x87.cc
|
| diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc
|
| index 0a0d96ec1bd96aba79c9209b0f714c2c5e332ad8..b132a757833944feb21ed79ad061bf0b03abc146 100644
|
| --- a/src/x87/full-codegen-x87.cc
|
| +++ b/src/x87/full-codegen-x87.cc
|
| @@ -1643,8 +1643,8 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
| VisitForStackValue(key);
|
| VisitForStackValue(value);
|
| if (property->emit_store()) {
|
| - __ push(Immediate(Smi::FromInt(NONE))); // PropertyAttributes
|
| - __ CallRuntime(Runtime::kAddProperty, 4);
|
| + __ push(Immediate(Smi::FromInt(SLOPPY))); // Strict mode
|
| + __ CallRuntime(Runtime::kSetProperty, 4);
|
| } else {
|
| __ Drop(3);
|
| }
|
|
|