Ignore:
Timestamp:
Dec 15, 2008, 8:48:16 PM (16 years ago)
Author:
[email protected]
Message:

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

Rubber stamped by Mark Rowe.

Revert r39226 / Bug 22818: Unify JIT callback argument access OS X / Windows
This causes Acid3 failures – reverting for now & will revisit later.
https://bugs.webkit.org/show_bug.cgi?id=22873

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

Legend:

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

    r39265 r39325  
    5555#if ENABLE(JIT)
    5656
     57#if USE(CTI_ARGUMENT)
     58#define CTI_ARGS void** args
     59#define ARGS (args)
     60#else
    5761#define CTI_ARGS void* args, ...
    5862#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
    5980#define SFX_CALL
     81#endif
     82
     83#endif
    6084
    6185    typedef uint64_t VoidPtrPair;
Note: See TracChangeset for help on using the changeset viewer.