| Index: src/arm/lithium-arm.cc | 
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc | 
| index 87cbf0996c59ff640356a410bf01b53bd686d255..4ccb02099569aee044ec33830c78530edf620b48 100644 | 
| --- a/src/arm/lithium-arm.cc | 
| +++ b/src/arm/lithium-arm.cc | 
| @@ -444,13 +444,14 @@ | 
|  | 
|  | 
| LUnallocated* LChunkBuilder::ToUnallocated(Register reg) { | 
| -  return new (zone()) LUnallocated(LUnallocated::FIXED_REGISTER, reg.code()); | 
| +  return new(zone()) LUnallocated(LUnallocated::FIXED_REGISTER, | 
| +                                  Register::ToAllocationIndex(reg)); | 
| } | 
|  | 
|  | 
| LUnallocated* LChunkBuilder::ToUnallocated(DoubleRegister reg) { | 
| -  return new (zone()) | 
| -      LUnallocated(LUnallocated::FIXED_DOUBLE_REGISTER, reg.code()); | 
| +  return new(zone()) LUnallocated(LUnallocated::FIXED_DOUBLE_REGISTER, | 
| +                                  DoubleRegister::ToAllocationIndex(reg)); | 
| } | 
|  | 
|  | 
|  |