| Index: src/arm/lithium-arm.cc | 
| =================================================================== | 
| --- src/arm/lithium-arm.cc	(revision 6124) | 
| +++ src/arm/lithium-arm.cc	(working copy) | 
| @@ -1666,19 +1666,15 @@ | 
| } | 
|  | 
|  | 
| -LInstruction* LChunkBuilder::DoArrayLength(HArrayLength* instr) { | 
| -  LOperand* array = NULL; | 
| -  LOperand* temporary = NULL; | 
| +LInstruction* LChunkBuilder::DoJSArrayLength(HJSArrayLength* instr) { | 
| +  LOperand* array = UseRegisterAtStart(instr->value()); | 
| +  return DefineAsRegister(new LJSArrayLength(array)); | 
| +} | 
|  | 
| -  if (instr->value()->IsLoadElements()) { | 
| -    array = UseRegisterAtStart(instr->value()); | 
| -  } else { | 
| -    array = UseRegister(instr->value()); | 
| -    temporary = TempRegister(); | 
| -  } | 
|  | 
| -  LInstruction* result = new LArrayLength(array, temporary); | 
| -  return AssignEnvironment(DefineAsRegister(result)); | 
| +LInstruction* LChunkBuilder::DoFixedArrayLength(HFixedArrayLength* instr) { | 
| +  LOperand* array = UseRegisterAtStart(instr->value()); | 
| +  return DefineAsRegister(new LFixedArrayLength(array)); | 
| } | 
|  | 
|  | 
|  |