Title: [153527] trunk/Source/_javascript_Core
Revision
153527
Author
[email protected]
Date
2013-07-31 11:03:47 -0700 (Wed, 31 Jul 2013)

Log Message

[Win] _javascript_ crash.
https://bugs.webkit.org/show_bug.cgi?id=119339

Reviewed by Mark Hahnenberg.

* jit/JITStubsX86.h: Implement ctiVMThrowTrampoline and
ctiVMThrowTrampolineSlowpath the same way as the gcc x86 version does.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (153526 => 153527)


--- trunk/Source/_javascript_Core/ChangeLog	2013-07-31 17:47:50 UTC (rev 153526)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-07-31 18:03:47 UTC (rev 153527)
@@ -1,3 +1,13 @@
+2013-07-31  Michael Saboff  <[email protected]>
+
+        [Win] _javascript_ crash.
+        https://bugs.webkit.org/show_bug.cgi?id=119339
+
+        Reviewed by Mark Hahnenberg.
+
+        * jit/JITStubsX86.h: Implement ctiVMThrowTrampoline and
+        ctiVMThrowTrampolineSlowpath the same way as the gcc x86 version does.
+
 2013-07-30  Mark Hahnenberg  <[email protected]>
 
         GetByVal on Arguments does the wrong size load when checking the Arguments object length

Modified: trunk/Source/_javascript_Core/jit/JITStubsX86.h (153526 => 153527)


--- trunk/Source/_javascript_Core/jit/JITStubsX86.h	2013-07-31 17:47:50 UTC (rev 153526)
+++ trunk/Source/_javascript_Core/jit/JITStubsX86.h	2013-07-31 18:03:47 UTC (rev 153527)
@@ -300,12 +300,7 @@
         __asm {
             mov ecx, esp;
             call cti_vm_throw;
-            add esp, 0x3c;
-            pop ebx;
-            pop edi;
-            pop esi;
-            pop ebp;
-            ret;
+            int 3;
         }
     }
 
@@ -315,13 +310,7 @@
             mov ecx, edi;
             call cti_vm_throw_slowpath;
             // When cti_vm_throw_slowpath returns, eax has callFrame and edx has handler address
-            add esp, 0x3c;
-            pop ebx;
-            pop edi;
-            pop esi;
-            pop ebp;
             jmp edx
-            ret;
         }
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to