Index: src/mips/deoptimizer-mips.cc |
diff --git a/src/mips/deoptimizer-mips.cc b/src/mips/deoptimizer-mips.cc |
index 8e96cd5431e7ea4869a5941ad53539688f552535..09c69c76538548f746b4976c2c07f4e3fa9f0f0d 100644 |
--- a/src/mips/deoptimizer-mips.cc |
+++ b/src/mips/deoptimizer-mips.cc |
@@ -868,7 +868,7 @@ void Deoptimizer::EntryGenerator::Generate() { |
kDoubleSize * FPURegister::kMaxNumAllocatableRegisters; |
if (CpuFeatures::IsSupported(FPU)) { |
- CpuFeatures::Scope scope(FPU); |
+ CpuFeatureScope scope(masm(), FPU); |
// Save all FPU registers before messing with them. |
__ Subu(sp, sp, Operand(kDoubleRegsSize)); |
for (int i = 0; i < FPURegister::kMaxNumAllocatableRegisters; ++i) { |
@@ -951,7 +951,7 @@ void Deoptimizer::EntryGenerator::Generate() { |
int double_regs_offset = FrameDescription::double_registers_offset(); |
if (CpuFeatures::IsSupported(FPU)) { |
- CpuFeatures::Scope scope(FPU); |
+ CpuFeatureScope scope(masm(), FPU); |
// Copy FPU registers to |
// double_registers_[DoubleRegister::kNumAllocatableRegisters] |
for (int i = 0; i < FPURegister::NumAllocatableRegisters(); ++i) { |
@@ -1029,7 +1029,7 @@ void Deoptimizer::EntryGenerator::Generate() { |
__ Branch(&outer_push_loop, lt, t0, Operand(a1)); |
if (CpuFeatures::IsSupported(FPU)) { |
- CpuFeatures::Scope scope(FPU); |
+ CpuFeatureScope scope(masm(), FPU); |
__ lw(a1, MemOperand(a0, Deoptimizer::input_offset())); |
for (int i = 0; i < FPURegister::kMaxNumAllocatableRegisters; ++i) { |