Index: src/arm64/macro-assembler-arm64.h |
diff --git a/src/arm64/macro-assembler-arm64.h b/src/arm64/macro-assembler-arm64.h |
index 48f2e774dc2c2dc0893081fb8683f414c7058f47..1f3aa14eaec32ff78bc7e06853c69051a80758ed 100644 |
--- a/src/arm64/macro-assembler-arm64.h |
+++ b/src/arm64/macro-assembler-arm64.h |
@@ -842,15 +842,10 @@ class MacroAssembler : public Assembler { |
void NumberOfOwnDescriptors(Register dst, Register map); |
template<typename Field> |
- void DecodeField(Register dst, Register src) { |
+ void DecodeField(Register reg) { |
static const uint64_t shift = Field::kShift; |
static const uint64_t setbits = CountSetBits(Field::kMask, 32); |
- Ubfx(dst, src, shift, setbits); |
- } |
- |
- template<typename Field> |
- void DecodeField(Register reg) { |
- DecodeField<Field>(reg, reg); |
+ Ubfx(reg, reg, shift, setbits); |
} |
// ---- SMI and Number Utilities ---- |