Changeset 158922 in webkit


Ignore:
Timestamp:
Nov 8, 2013 9:12:27 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[Win] JavaScript crash in getHostCallReturnValue.
https://bugs.webkit.org/show_bug.cgi?id=124040

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-11-08
Reviewed by Geoffrey Garen.

  • jit/JITOperations.cpp: Update MSVC assembler code in getHostCallReturnValue according to gcc x86 version.
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r158916 r158922  
     12013-11-08  peavo@outlook.com  <peavo@outlook.com>
     2
     3        [Win] JavaScript crash in getHostCallReturnValue.
     4        https://bugs.webkit.org/show_bug.cgi?id=124040
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        * jit/JITOperations.cpp: Update MSVC assembler code in getHostCallReturnValue according to gcc x86 version.
     9
    1102013-11-08  Julien Brianceau  <jbriance@cisco.com>
    211
  • trunk/Source/JavaScriptCore/jit/JITOperations.cpp

    r158883 r158922  
    18031803    __declspec(naked) EncodedJSValue HOST_CALL_RETURN_VALUE_OPTION getHostCallReturnValue()
    18041804    {
    1805         __asm {
    1806             mov edi, [edi + 0]; // CallerFrameAndPC::callerFrame
    1807             mov [esp + 4], edi;
    1808             jmp getHostCallReturnValueWithExecState
    1809         }
     1805        __asm mov ebp, [ebp + 0]; // CallerFrameAndPC::callerFrame
     1806        __asm mov [esp + 4], ebp;
     1807        __asm jmp getHostCallReturnValueWithExecState
    18101808    }
    18111809}
Note: See TracChangeset for help on using the changeset viewer.