| 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 d7a9bc3e5fc6cb4bc5be98dca3641ed22d2be982..411721c0000f34ed337fb3be5dcfde6802ff8622 100644
|
| --- a/src/full-codegen/arm/full-codegen-arm.cc
|
| +++ b/src/full-codegen/arm/full-codegen-arm.cc
|
| @@ -842,8 +842,8 @@ void FullCodeGenerator::VisitVariableDeclaration(
|
| case VariableLocation::LOCAL:
|
| if (hole_init) {
|
| Comment cmnt(masm_, "[ VariableDeclaration");
|
| - __ LoadRoot(ip, Heap::kTheHoleValueRootIndex);
|
| - __ str(ip, StackOperand(variable));
|
| + __ LoadRoot(r0, Heap::kTheHoleValueRootIndex);
|
| + __ str(r0, StackOperand(variable));
|
| }
|
| break;
|
|
|
| @@ -851,8 +851,8 @@ void FullCodeGenerator::VisitVariableDeclaration(
|
| if (hole_init) {
|
| Comment cmnt(masm_, "[ VariableDeclaration");
|
| EmitDebugCheckDeclarationContext(variable);
|
| - __ LoadRoot(ip, Heap::kTheHoleValueRootIndex);
|
| - __ str(ip, ContextOperand(cp, variable->index()));
|
| + __ LoadRoot(r0, Heap::kTheHoleValueRootIndex);
|
| + __ str(r0, ContextOperand(cp, variable->index()));
|
| // No write barrier since the_hole_value is in old space.
|
| PrepareForBailoutForId(proxy->id(), NO_REGISTERS);
|
| }
|
|
|