Revision: 8879
Author:   [email protected]
Date:     Wed Aug 10 06:11:14 2011
Log:      Fix x64 build.

[email protected]
Review URL: http://codereview.chromium.org/7604034
http://code.google.com/p/v8/source/detail?r=8879

Modified:
 /branches/bleeding_edge/src/x64/lithium-codegen-x64.cc

=======================================
--- /branches/bleeding_edge/src/x64/lithium-codegen-x64.cc Wed Aug 10 05:32:43 2011 +++ /branches/bleeding_edge/src/x64/lithium-codegen-x64.cc Wed Aug 10 06:11:14 2011
@@ -2759,6 +2759,7 @@
   XMMRegister xmm_scratch = xmm0;
   Register output_reg = ToRegister(instr->result());
   XMMRegister input_reg = ToDoubleRegister(instr->InputAt(0));
+  Label done;

   if (CpuFeatures::IsSupported(SSE4_1)) {
     CpuFeatures::Scope scope(SSE4_1);
@@ -2779,11 +2780,12 @@
     DeoptimizeIf(below, instr->environment());
     if (instr->hydrogen()->CheckFlag(HValue::kBailoutOnMinusZero)) {
       // Check for negative zero.
+      Label positive_sign;
       __ j(above, &positive_sign, Label::kNear);
       __ movmskpd(output_reg, input_reg);
       __ testq(output_reg, Immediate(1));
       DeoptimizeIf(not_zero, instr->environment());
-      __ Set(output_reg, Immediate(0));
+      __ Set(output_reg, 0);
       __ jmp(&done);
       __ bind(&positive_sign);
     }

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to