Index: src/arm/assembler-arm.h |
diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h |
index 83afcae2788794175c8d05a96f1265c5d3c64836..e5448f79aeb34d9ce24e07cb0f8582317c6d9e8b 100644 |
--- a/src/arm/assembler-arm.h |
+++ b/src/arm/assembler-arm.h |
@@ -1603,6 +1603,12 @@ class Assembler : public AssemblerBase { |
(pc_offset() < no_const_pool_before_); |
} |
+ bool VfpRegisterIsAvailable(DwVfpRegister reg) { |
+ DCHECK(reg.is_valid()); |
+ return IsEnabled(VFP32DREGS) || |
+ (reg.reg_code < LowDwVfpRegister::kMaxNumLowRegisters); |
+ } |
+ |
private: |
int next_buffer_check_; // pc offset of next buffer check |