glsl-function-atan.html WebGL conformance test fails after https://bugs.webkit.org...
authoryuqiang.xian@intel.com <yuqiang.xian@intel.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 Oct 2012 06:58:20 +0000 (06:58 +0000)
committeryuqiang.xian@intel.com <yuqiang.xian@intel.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 Oct 2012 06:58:20 +0000 (06:58 +0000)
https://bugs.webkit.org/show_bug.cgi?id=100789

Reviewed by Filip Pizlo.

We accidently missed a bitwise double to int64 conversion.

* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::silentFill):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/dfg/DFGSpeculativeJIT.h

index 5c0cc5a..7a50758 100644 (file)
@@ -1,3 +1,15 @@
+2012-10-30  Yuqiang Xian  <yuqiang.xian@intel.com>
+
+        glsl-function-atan.html WebGL conformance test fails after https://bugs.webkit.org/show_bug.cgi?id=99154
+        https://bugs.webkit.org/show_bug.cgi?id=100789
+
+        Reviewed by Filip Pizlo.
+
+        We accidently missed a bitwise double to int64 conversion.
+
+        * dfg/DFGSpeculativeJIT.h:
+        (JSC::DFG::SpeculativeJIT::silentFill):
+
 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
 
         [Mac] Sync up FeatureDefine Configuration Files
index a98db02..446ea7d 100644 (file)
@@ -543,7 +543,7 @@ public:
             m_jit.move(valueOfJSConstantAsImm64(plan.nodeIndex()), plan.gpr());
             break;
         case SetDoubleConstant:
-            m_jit.move(Imm64(valueOfNumberConstant(plan.nodeIndex())), canTrample);
+            m_jit.move(Imm64(reinterpretDoubleToInt64(valueOfNumberConstant(plan.nodeIndex()))), canTrample);
             m_jit.move64ToDouble(canTrample, plan.fpr());
             break;
         case Load32PayloadBoxInt: