Ignore:
Timestamp:
Jan 13, 2014, 1:23:12 AM (11 years ago)
Author:
[email protected]
Message:

Unreviewed. Changes in r161686 are exposing a bug in GCC where the global .cfi_startproc directive
is not inserted early enough into the generated assembler code when building in debug mode, causing
compilation failures on ports using the GCC compilers. To work around the problem, only utilize the
OFFLINE_ASM_* macros that use .cfi_ directives when compiling with Clang.

  • llint/LowLevelInterpreter.cpp:
File:
1 edited

Legend:

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

    r161686 r161866  
    523523
    524524// These are for building an interpreter from generated assembly code:
    525 #if CPU(X86_64)
     525#if CPU(X86_64) && COMPILER(CLANG)
    526526#define OFFLINE_ASM_BEGIN   asm ( \
    527527    ".cfi_startproc\n"
     
    546546    ".thumb_func " THUMB_FUNC_PARAM(label) "\n"  \
    547547    SYMBOL_STRING(label) ":\n"
    548 #elif CPU(X86_64)
     548#elif CPU(X86_64) && COMPILER(CLANG)
    549549#define OFFLINE_ASM_GLOBAL_LABEL(label)         \
    550550    ".text\n"                                   \
Note: See TracChangeset for help on using the changeset viewer.