Index: src/mips/code-stubs-mips.h |
diff --git a/src/mips/code-stubs-mips.h b/src/mips/code-stubs-mips.h |
index cc7ac28a0f46ae47d42250e9aa879906812816fb..37db215909416db86549a39c127eb629b8d2fc27 100644 |
--- a/src/mips/code-stubs-mips.h |
+++ b/src/mips/code-stubs-mips.h |
@@ -484,7 +484,7 @@ class RecordWriteStub: public PlatformCodeStub { |
void SaveCallerSaveRegisters(MacroAssembler* masm, SaveFPRegsMode mode) { |
masm->MultiPush((kJSCallerSaved | ra.bit()) & ~scratch1_.bit()); |
if (mode == kSaveFPRegs) { |
- CpuFeatures::Scope scope(FPU); |
+ CpuFeatureScope scope(masm, FPU); |
masm->MultiPushFPU(kCallerSavedFPU); |
} |
} |
@@ -492,7 +492,7 @@ class RecordWriteStub: public PlatformCodeStub { |
inline void RestoreCallerSaveRegisters(MacroAssembler*masm, |
SaveFPRegsMode mode) { |
if (mode == kSaveFPRegs) { |
- CpuFeatures::Scope scope(FPU); |
+ CpuFeatureScope scope(masm, FPU); |
masm->MultiPopFPU(kCallerSavedFPU); |
} |
masm->MultiPop((kJSCallerSaved | ra.bit()) & ~scratch1_.bit()); |