Title: [172978] trunk/Source/_javascript_Core
Revision
172978
Author
msab...@apple.com
Date
2014-08-26 15:08:42 -0700 (Tue, 26 Aug 2014)

Log Message

[Win] 64-bit _javascript_Core crashes on launch
https://bugs.webkit.org/show_bug.cgi?id=136241

Reviewed by Mark Lam.

* llint/LowLevelInterpreter.asm:
(vmEntryRecord): X86_64_WIN doesn't use "a0" (rax) for the first argument, it uses
"t2" (rcx).  Changed to get the input parameter using the correct register.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (172977 => 172978)


--- trunk/Source/_javascript_Core/ChangeLog	2014-08-26 21:39:51 UTC (rev 172977)
+++ trunk/Source/_javascript_Core/ChangeLog	2014-08-26 22:08:42 UTC (rev 172978)
@@ -1,3 +1,14 @@
+2014-08-26  Michael Saboff  <msab...@apple.com>
+
+        [Win] 64-bit _javascript_Core crashes on launch
+        https://bugs.webkit.org/show_bug.cgi?id=136241
+
+        Reviewed by Mark Lam.
+
+        * llint/LowLevelInterpreter.asm:
+        (vmEntryRecord): X86_64_WIN doesn't use "a0" (rax) for the first argument, it uses
+        "t2" (rcx).  Changed to get the input parameter using the correct register.
+
 2014-08-26  Saam Barati  <sbar...@apple.com>
 
         TypeSet caches structureIDs even after the corresponding Structure could be GCed

Modified: trunk/Source/_javascript_Core/llint/LowLevelInterpreter.asm (172977 => 172978)


--- trunk/Source/_javascript_Core/llint/LowLevelInterpreter.asm	2014-08-26 21:39:51 UTC (rev 172977)
+++ trunk/Source/_javascript_Core/llint/LowLevelInterpreter.asm	2014-08-26 22:08:42 UTC (rev 172978)
@@ -748,7 +748,7 @@
         if X86_64
             const entryFrame = t4
             const result = t0
-        elsif X86 or X86_WIN
+        elsif X86 or X86_WIN or X86_64_WIN
             const entryFrame = t2
             const result = t0
         else
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to