Index: src/arm/stub-cache-arm.cc |
=================================================================== |
--- src/arm/stub-cache-arm.cc (revision 8538) |
+++ src/arm/stub-cache-arm.cc (working copy) |
@@ -4139,7 +4139,7 @@ |
// have been verified by the caller to not be a smi. |
// Check that the key is a smi. |
- __ JumpIfNotSmi(r0, &miss_force_generic); |
+ __ JumpIfNotSmi(key_reg, &miss_force_generic); |
// Get the elements array and make sure it is a fast element array, not 'cow'. |
__ ldr(elements_reg, |