| Index: src/arm/code-stubs-arm.h
|
| diff --git a/src/arm/code-stubs-arm.h b/src/arm/code-stubs-arm.h
|
| index f952756a829acc35ac9088cc840b3d8a18db2203..175ebfcc418f81041310966309f95b623a51804d 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--) {
|
|
|