Index: src/arm/code-stubs-arm.h |
diff --git a/src/arm/code-stubs-arm.h b/src/arm/code-stubs-arm.h |
index 3e37712d295c66d131b9d93d8ff7d0030b365728..a5d08aff8df8f25732f6a69da0a701a02d063b15 100644 |
--- a/src/arm/code-stubs-arm.h |
+++ b/src/arm/code-stubs-arm.h |
@@ -471,7 +471,7 @@ class RecordWriteStub: public PlatformCodeStub { |
if (mode == kSaveFPRegs) { |
// Number of d-regs not known at snapshot time. |
ASSERT(!Serializer::enabled()); |
- CpuFeatures::Scope scope(VFP2); |
+ CpuFeatureScope scope(masm, VFP2); |
masm->sub(sp, |
sp, |
Operand(kDoubleSize * (DwVfpRegister::NumRegisters() - 1))); |
@@ -489,7 +489,7 @@ class RecordWriteStub: public PlatformCodeStub { |
if (mode == kSaveFPRegs) { |
// Number of d-regs not known at snapshot time. |
ASSERT(!Serializer::enabled()); |
- CpuFeatures::Scope scope(VFP2); |
+ 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--) { |