Changeset 106153 in webkit


Ignore:
Timestamp:
Jan 27, 2012 2:43:34 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[JSC] Asm-originated symbols should be marked as hidden
https://bugs.webkit.org/show_bug.cgi?id=77150

Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-01-27
Reviewed by Filip Pizlo.

  • dfg/DFGOperations.cpp: The HIDE_SYMBOLS macros were present in the CPU(ARM) preprocessor branches,

but they were missing in the CPU(X86) and the CPU(X86_64) cases.

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r106151 r106153  
     12012-01-27  Simon Hausmann  <simon.hausmann@nokia.com>
     2
     3        [JSC] Asm-originated symbols should be marked as hidden
     4        https://bugs.webkit.org/show_bug.cgi?id=77150
     5
     6        Reviewed by Filip Pizlo.
     7
     8        * dfg/DFGOperations.cpp: The HIDE_SYMBOLS macros were present in the CPU(ARM) preprocessor branches,
     9        but they were missing in the CPU(X86) and the CPU(X86_64) cases.
     10
    1112012-01-27  MORITA Hajime  <morrita@google.com>
    212
  • trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp

    r106049 r106153  
    4444    asm( \
    4545    ".globl " SYMBOL_STRING(function) "\n" \
     46    HIDE_SYMBOL(function) "\n" \
    4647    SYMBOL_STRING(function) ":" "\n" \
    4748        "mov (%rsp), %" STRINGIZE(register) "\n" \
     
    5859    asm( \
    5960    ".globl " SYMBOL_STRING(function) "\n" \
     61    HIDE_SYMBOL(function) "\n" \
    6062    SYMBOL_STRING(function) ":" "\n" \
    6163        "mov (%esp), %eax\n" \
     
    678680asm (
    679681".globl " SYMBOL_STRING(getHostCallReturnValue) "\n"
     682HIDE_SYMBOL(getHostCallReturnValue) "\n"
    680683SYMBOL_STRING(getHostCallReturnValue) ":" "\n"
    681684    "mov -40(%r13), %r13\n"
     
    686689asm (
    687690".globl " SYMBOL_STRING(getHostCallReturnValue) "\n"
     691HIDE_SYMBOL(getHostCallReturnValue) "\n"
    688692SYMBOL_STRING(getHostCallReturnValue) ":" "\n"
    689693    "mov -40(%edi), %edi\n"
Note: See TracChangeset for help on using the changeset viewer.