Chromium Code Reviews| Index: src/full-codegen/arm/full-codegen-arm.cc |
| diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
| index 88bda0d4f2cbe39c473e6854023291cf7022d62f..f89300a31580262bce2f086aad990d6a104cdaad 100644 |
| --- a/src/full-codegen/arm/full-codegen-arm.cc |
| +++ b/src/full-codegen/arm/full-codegen-arm.cc |
| @@ -1003,8 +1003,10 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
| __ CompareRoot(r0, Heap::kUndefinedValueRootIndex); |
| __ b(eq, &exit); |
| __ bind(&convert); |
| + __ Push(cp); |
| ToObjectStub stub(isolate()); |
| __ CallStub(&stub); |
| + __ Pop(cp); |
|
Michael Starzinger
2016/08/09 10:24:29
Please use FullCodeGenerator::RestoreContext after
Franzi
2016/08/09 11:21:38
Done.
|
| __ bind(&done_convert); |
| PrepareForBailoutForId(stmt->ToObjectId(), BailoutState::TOS_REGISTER); |
| __ push(r0); |