Index: src/arm/macro-assembler-arm.cc |
=================================================================== |
--- src/arm/macro-assembler-arm.cc (revision 4740) |
+++ src/arm/macro-assembler-arm.cc (working copy) |
@@ -1328,7 +1328,7 @@ |
Register src, |
int num_least_bits) { |
if (CpuFeatures::IsSupported(ARMv7)) { |
- ubfx(dst, src, Operand(kSmiTagSize), Operand(num_least_bits - 1)); |
+ ubfx(dst, src, kSmiTagSize, num_least_bits); |
} else { |
mov(dst, Operand(src, ASR, kSmiTagSize)); |
and_(dst, dst, Operand((1 << num_least_bits) - 1)); |