Ignore:
Timestamp:
Mar 7, 2014, 7:33:44 PM (11 years ago)
Author:
[email protected]
Message:

.cfi directives in LowLevelInterpreter.cpp are providing no benefit
https://bugs.webkit.org/show_bug.cgi?id=129945

Reviewed by Mark Lam.

Removed .cfi directive. Verified that stack traces didn't regress in crash reporter
or in lldb.

  • llint/LowLevelInterpreter.cpp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp

    r165213 r165320  
    493493
    494494// These are for building an interpreter from generated assembly code:
    495 #if CPU(X86_64) && COMPILER(CLANG)
    496 #define OFFLINE_ASM_BEGIN   asm (                \
    497     ".cfi_startproc\n"
    498 
    499 #define OFFLINE_ASM_END                          \
    500     ".cfi_endproc\n"                             \
    501                             );
    502 #else
    503495#define OFFLINE_ASM_BEGIN   asm (
    504496#define OFFLINE_ASM_END     );
    505 #endif
    506497
    507498#define OFFLINE_ASM_OPCODE_LABEL(__opcode) OFFLINE_ASM_GLOBAL_LABEL(llint_##__opcode)
     
    516507    ".thumb_func " THUMB_FUNC_PARAM(label) "\n"  \
    517508    SYMBOL_STRING(label) ":\n"
    518 #elif CPU(XXX86_64) && COMPILER(CLANG)
    519 #define OFFLINE_ASM_GLOBAL_LABEL(label)         \
    520     ".text\n"                                   \
    521     ".globl " SYMBOL_STRING(label) "\n"         \
    522     HIDE_SYMBOL(label) "\n"                     \
    523     SYMBOL_STRING(label) ":\n"                  \
    524     ".cfi_def_cfa_offset 16\n"                  \
    525     ".cfi_offset %rbp, -16\n"                   \
    526     ".cfi_def_cfa_register rbp\n"
    527509#else
    528510#define OFFLINE_ASM_GLOBAL_LABEL(label)         \
Note: See TracChangeset for help on using the changeset viewer.