Title: [98574] trunk/Source/_javascript_Core
Revision
98574
Author
commit-qu...@webkit.org
Date
2011-10-27 08:05:47 -0700 (Thu, 27 Oct 2011)

Log Message

Fix a small bug in callOperation after r98431
https://bugs.webkit.org/show_bug.cgi?id=70984

Patch by Yuqiang Xian <yuqiang.x...@intel.com> on 2011-10-27
Reviewed by Geoffrey Garen.

TrustedImmPtr is not expecting "int" type parameters.

* dfg/DFGJITCodeGenerator.h:
(JSC::DFG::callOperation):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (98573 => 98574)


--- trunk/Source/_javascript_Core/ChangeLog	2011-10-27 15:03:48 UTC (rev 98573)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-10-27 15:05:47 UTC (rev 98574)
@@ -1,3 +1,15 @@
+2011-10-27  Yuqiang Xian  <yuqiang.x...@intel.com>
+
+        Fix a small bug in callOperation after r98431
+        https://bugs.webkit.org/show_bug.cgi?id=70984
+
+        Reviewed by Geoffrey Garen.
+
+        TrustedImmPtr is not expecting "int" type parameters.
+
+        * dfg/DFGJITCodeGenerator.h:
+        (JSC::DFG::callOperation):
+
 2011-10-26  Oliver Hunt  <oli...@apple.com>
 
         Restore structure-clearing behaviour of allocateCell<>

Modified: trunk/Source/_javascript_Core/dfg/DFGJITCodeGenerator.h (98573 => 98574)


--- trunk/Source/_javascript_Core/dfg/DFGJITCodeGenerator.h	2011-10-27 15:03:48 UTC (rev 98573)
+++ trunk/Source/_javascript_Core/dfg/DFGJITCodeGenerator.h	2011-10-27 15:05:47 UTC (rev 98574)
@@ -1507,7 +1507,7 @@
     }
     JITCompiler::Call callOperation(J_DFGOperation_ESS operation, GPRReg resultTag, GPRReg resultPayload, int startConstant, int numConstants)
     {
-        setupArgumentsWithExecState(TrustedImmPtr(startConstant), TrustedImmPtr(numConstants));
+        setupArgumentsWithExecState(TrustedImm32(startConstant), TrustedImm32(numConstants));
         return appendCallWithExceptionCheckSetResult(operation, resultPayload, resultTag);
     }
     JITCompiler::Call callOperation(J_DFGOperation_EJP operation, GPRReg resultTag, GPRReg resultPayload, GPRReg arg1Tag, GPRReg arg1Payload, void* pointer)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to