Index: src/arm/code-stubs-arm.h |
diff --git a/src/arm/code-stubs-arm.h b/src/arm/code-stubs-arm.h |
index fe1fff6131a40eccb860b45a53ab0967c9cf08e3..741ff9ca8312740b715c29c262de9ed147cce62e 100644 |
--- a/src/arm/code-stubs-arm.h |
+++ b/src/arm/code-stubs-arm.h |
@@ -61,9 +61,7 @@ class TranscendentalCacheStub: public PlatformCodeStub { |
class StoreBufferOverflowStub: public PlatformCodeStub { |
public: |
explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp) |
- : save_doubles_(save_fp) { |
- ASSERT(CpuFeatures::IsSafeForSnapshot(VFP2) || save_fp == kDontSaveFPRegs); |
- } |
+ : save_doubles_(save_fp) {} |
void Generate(MacroAssembler* masm); |
@@ -473,7 +471,6 @@ class RecordWriteStub: public PlatformCodeStub { |
if (mode == kSaveFPRegs) { |
// Number of d-regs not known at snapshot time. |
ASSERT(!Serializer::enabled()); |
- CpuFeatureScope scope(masm, VFP2); |
masm->sub(sp, |
sp, |
Operand(kDoubleSize * (DwVfpRegister::NumRegisters() - 1))); |
@@ -491,7 +488,6 @@ class RecordWriteStub: public PlatformCodeStub { |
if (mode == kSaveFPRegs) { |
// Number of d-regs not known at snapshot time. |
ASSERT(!Serializer::enabled()); |
- CpuFeatureScope scope(masm, VFP2); |
// Restore all VFP registers except d0. |
// TODO(hans): We should probably restore d0 too. And maybe use vldm. |
for (int i = DwVfpRegister::NumRegisters() - 1; i > 0; i--) { |