From c9e8d8705751e50e135d13b126294516105762d8 Mon Sep 17 00:00:00 2001 From: "svenpanne@chromium.org" Date: Wed, 10 Apr 2013 07:25:22 +0000 Subject: [PATCH] Unbreak mipsel.debug.check Review URL: https://codereview.chromium.org/14030002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14196 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/mips/lithium-codegen-mips.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc index 844b174..b6f9998 100644 --- a/src/mips/lithium-codegen-mips.cc +++ b/src/mips/lithium-codegen-mips.cc @@ -1214,6 +1214,7 @@ void LCodeGen::DoMultiplyAddD(LMultiplyAddD* instr) { // This is computed in-place. ASSERT(addend.is(ToDoubleRegister(instr->result()))); + CpuFeatureScope scope(masm(), FPU); __ madd_d(addend, addend, multiplier, multiplicand); } @@ -4899,8 +4900,8 @@ void LCodeGen::DoDeferredTaggedToI(LTaggedToI* instr) { // This 'at' value and scratch1 map value are used for tests in both clauses // of the if. + CpuFeatureScope scope(masm(), FPU); if (instr->truncating()) { - CpuFeatureScope scope(masm(), FPU); Register scratch3 = ToRegister(instr->temp2()); FPURegister single_scratch = double_scratch.low(); ASSERT(!scratch3.is(input_reg) && -- 2.7.4