Chromium Code Reviews| 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 560239eda9bfb88a4c02b77d8624a452b9149412..dfa41c1fc8427d6c7b179dfbaaeef15079e9b24c 100644 |
| --- a/src/full-codegen/x64/full-codegen-x64.cc |
| +++ b/src/full-codegen/x64/full-codegen-x64.cc |
| @@ -1380,8 +1380,10 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
| __ Move(rbx, Smi::FromInt(expr->literal_index())); |
| __ Move(rcx, constant_properties); |
| __ Move(rdx, Smi::FromInt(flags)); |
| + __ Push(rsi); |
| FastCloneShallowObjectStub stub(isolate(), expr->properties_count()); |
| __ CallStub(&stub); |
| + __ Pop(rsi); |
|
Benedikt Meurer
2016/04/06 17:20:36
No need to push/pop the context, just reload it fr
|
| } |
| PrepareForBailoutForId(expr->CreateLiteralId(), TOS_REG); |