Ignore:
Timestamp:
Dec 11, 2008, 8:20:17 PM (16 years ago)
Author:
[email protected]
Message:

2008-12-11 Gavin Barraclough <[email protected]>

Reviewed by Oliver Hunt.

Remove CTI_ARGUMENTS mode, use va_start implementation on Windows,
unifying JIT callback (cti_*) argument access on OS X & Windows

No performance impact.

  • interpreter/Interpreter.h:
  • jit/JIT.cpp: (JSC::JIT::privateCompileCTIMachineTrampolines):
  • jit/JIT.h:
  • jit/JITInlineMethods.h: (JSC::JIT::emitCTICall):
  • jit/JITPropertyAccess.cpp: (JSC::JIT::privateCompilePutByIdTransition):
  • wtf/Platform.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/interpreter/Interpreter.h

    r39161 r39226  
    5555#if ENABLE(JIT)
    5656
    57 #if USE(CTI_ARGUMENT)
    58 #define CTI_ARGS void** args
    59 #define ARGS (args)
    60 #else
    6157#define CTI_ARGS void* args, ...
    6258#define ARGS (reinterpret_cast<void**>(vl_args) - 1)
    63 #endif
    64 
    65 #if USE(FAST_CALL_CTI_ARGUMENT)
    66 
    67 #if COMPILER(MSVC)
    68 #define SFX_CALL __fastcall
    69 #elif COMPILER(GCC)
    70 #define SFX_CALL  __attribute__ ((fastcall))
    71 #else
    72 #error Need to support fastcall calling convention in this compiler
    73 #endif
    74 
    75 #else
    76 
    77 #if COMPILER(MSVC)
    78 #define SFX_CALL __cdecl
    79 #else
    8059#define SFX_CALL
    81 #endif
    82 
    83 #endif
    8460
    8561    typedef uint64_t VoidPtrPair;
Note: See TracChangeset for help on using the changeset viewer.