From: svenpanne@chromium.org Date: Wed, 10 Apr 2013 07:25:22 +0000 (+0000) Subject: Unbreak mipsel.debug.check X-Git-Tag: upstream/4.7.83~14649 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9e8d8705751e50e135d13b126294516105762d8;p=platform%2Fupstream%2Fv8.git 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 --- 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) &&