Compile fix for Win64 with jit disabled.
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Aug 2013 20:16:49 +0000 (20:16 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Aug 2013 20:16:49 +0000 (20:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=119804

Reviewed by Michael Saboff.

* offlineasm/cloop.rb: Added std:: before isnan.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154066 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/offlineasm/cloop.rb

index 5b1ae52..a6d2234 100644 (file)
@@ -1,3 +1,12 @@
+2013-08-14  Alex Christensen  <achristensen@apple.com>
+
+        Compile fix for Win64 with jit disabled.
+        https://bugs.webkit.org/show_bug.cgi?id=119804
+
+        Reviewed by Michael Saboff.
+
+        * offlineasm/cloop.rb: Added std:: before isnan.
+
 2013-08-14  Julien Brianceau  <jbrianceau@nds.com>
 
         DFG_JIT implementation for sh4 architecture.
index aeacae2..79ed3c7 100644 (file)
@@ -398,7 +398,7 @@ def cloopEmitUnaryOperation(operands, type, operator)
 end
 
 def cloopEmitCompareDoubleWithNaNCheckAndBranch(operands, condition)
-    $asm.putc "if (std::isnan(#{operands[0].clValue(:double)}) || isnan(#{operands[1].clValue(:double)})"
+    $asm.putc "if (std::isnan(#{operands[0].clValue(:double)}) || std::isnan(#{operands[1].clValue(:double)})"
     $asm.putc "    || (#{operands[0].clValue(:double)} #{condition} #{operands[1].clValue(:double)}))"
     $asm.putc "    goto #{operands[2].cLabel};"
 end