Index: src/arm/assembler-arm.h |
diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h |
index afb0c62787a4ca5e22795179a0d0cb2079e97a7a..84bc8794e8108378c76e814318bbc3241e47700b 100644 |
--- a/src/arm/assembler-arm.h |
+++ b/src/arm/assembler-arm.h |
@@ -164,18 +164,12 @@ struct Register { |
inline static int NumAllocatableRegisters(); |
static int ToAllocationIndex(Register reg) { |
- if (FLAG_enable_ool_constant_pool && (reg.code() >= kRegister_r8_Code)) { |
- return reg.code() - 1; |
- } |
ASSERT(reg.code() < kMaxNumAllocatableRegisters); |
return reg.code(); |
} |
static Register FromAllocationIndex(int index) { |
ASSERT(index >= 0 && index < kMaxNumAllocatableRegisters); |
- if (FLAG_enable_ool_constant_pool && (index >= 7)) { |
- return from_code(index + 1); |
- } |
return from_code(index); |
} |