Ignore:
Timestamp:
May 24, 2012, 3:50:40 AM (13 years ago)
Author:
[email protected]
Message:

cti_vm_throw gets kicked out by gcc 4.6 -flto
https://bugs.webkit.org/show_bug.cgi?id=56088

Patch by Allan Sandfeld Jensen <[email protected]> on 2012-05-24
Reviewed by Darin Adler.

Source/JavaScriptCore:

Add REFERENCED_FROM_ASM to functions only referenced from assembler.

  • dfg/DFGOperations.cpp:
  • jit/HostCallReturnValue.h:
  • jit/JITStubs.h:
  • jit/ThunkGenerators.cpp:

Source/WTF:

Define REFERENCED_FROM_ASM to attribute((used)) on GCC.

  • wtf/Compiler.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JITStubs.h

    r115248 r118344  
    464464    void* JIT_STUB cti_vm_lazyLinkCall(STUB_ARGS_DECLARATION);
    465465    void* JIT_STUB cti_vm_lazyLinkConstruct(STUB_ARGS_DECLARATION);
    466     void* JIT_STUB cti_vm_throw(STUB_ARGS_DECLARATION);
     466    void* JIT_STUB cti_vm_throw(STUB_ARGS_DECLARATION) REFERENCED_FROM_ASM;
    467467} // extern "C"
    468468
Note: See TracChangeset for help on using the changeset viewer.