Changeset 60401 in webkit


Ignore:
Timestamp:
May 29, 2010 12:46:31 AM (14 years ago)
Author:
ggaren@apple.com
Message:

Fixed Windows crash seen on buildbot.

  • jit/JITOpcodes32_64.cpp:

(JSC::JIT::privateCompileCTINativeCall): fastcall puts the first
argument in ecx.

Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r60395 r60401  
     12010-05-29  Geoffrey Garen  <ggaren@apple.com>
     2
     3        Fixed Windows crash seen on buildbot.
     4
     5        * jit/JITOpcodes32_64.cpp:
     6        (JSC::JIT::privateCompileCTINativeCall): __fastcall puts the first
     7        argument in ecx.
     8
    192010-05-28  Geoffrey Garen  <ggaren@apple.com>
    210
  • trunk/JavaScriptCore/jit/JITOpcodes32_64.cpp

    r60392 r60401  
    192192
    193193#if CPU(X86)
    194 #if COMPILER(MSVC) || OS(LINUX)
    195     // Calling convention:      f(edx, ...);
    196     // Host function signature: f(ExecState*);
    197     move(callFrameRegister, X86Registers::edx);
    198 
    199 #else
    200194    // Calling convention:      f(ecx, edx, ...);
    201195    // Host function signature: f(ExecState*);
    202196    move(callFrameRegister, X86Registers::ecx);
    203 
    204 #endif // COMPILER(MSVC) || OS(LINUX)
    205197
    206198    subPtr(Imm32(16 - sizeof(void*)), stackPointerRegister); // Align stack after call.
     
    252244    emitPutToCallFrameHeader(regT1, RegisterFile::ReturnPC);
    253245
    254 #if COMPILER(MSVC) || OS(LINUX)
    255     // Calling convention:      f(edx, ...);
    256     // Host function signature: f(ExecState*);
    257     move(callFrameRegister, X86Registers::edx);
    258 
    259 #else
    260246    // Calling convention:      f(ecx, edx, ...);
    261247    // Host function signature: f(ExecState*);
    262248    move(callFrameRegister, X86Registers::ecx);
    263 
    264 #endif // COMPILER(MSVC) || OS(LINUX)
    265249
    266250    subPtr(Imm32(16 - sizeof(void*)), stackPointerRegister); // Align stack after call.
Note: See TracChangeset for help on using the changeset viewer.