diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-09-10 19:10:20 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-09-10 19:10:20 +0200 |
commit | 284837daa07b29d6a63a748544a90b1f5842ac5c (patch) | |
tree | ecd258180bde91fe741e0cfd2638beb3c6da7e8e /Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h | |
parent | 2e2ba8ff45915f40ed3e014101269c175f2a89a0 (diff) | |
download | qtwebkit-284837daa07b29d6a63a748544a90b1f5842ac5c.tar.gz |
Imported WebKit commit 68645295d2e3e09af2c942f092556f06aa5f8b0d (http://svn.webkit.org/repository/webkit/trunk@128073)
New snapshot
Diffstat (limited to 'Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h')
-rw-r--r-- | Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h b/Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h index 9a1539576..63488aa0b 100644 --- a/Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h +++ b/Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h @@ -31,6 +31,17 @@ #include <wtf/InlineASM.h> #include <wtf/Platform.h> + +#if ENABLE(LLINT_C_LOOP) +#define OFFLINE_ASM_C_LOOP 1 +#define OFFLINE_ASM_X86 0 +#define OFFLINE_ASM_ARMv7 0 +#define OFFLINE_ASM_X86_64 0 + +#else // !ENABLE(LLINT_C_LOOP) + +#define OFFLINE_ASM_C_LOOP 0 + #if CPU(X86) #define OFFLINE_ASM_X86 1 #else @@ -49,6 +60,8 @@ #define OFFLINE_ASM_X86_64 0 #endif +#endif // !ENABLE(LLINT_C_LOOP) + #if USE(JSVALUE64) #define OFFLINE_ASM_JSVALUE64 1 #else @@ -91,24 +104,4 @@ #define OFFLINE_ASM_VALUE_PROFILER 0 #endif -// These are for building an interpreter from generated assembly code: -#define OFFLINE_ASM_BEGIN asm ( -#define OFFLINE_ASM_END ); - -#if CPU(ARM_THUMB2) -#define OFFLINE_ASM_GLOBAL_LABEL(label) \ - ".globl " SYMBOL_STRING(label) "\n" \ - HIDE_SYMBOL(label) "\n" \ - ".thumb\n" \ - ".thumb_func " THUMB_FUNC_PARAM(label) "\n" \ - SYMBOL_STRING(label) ":\n" -#else -#define OFFLINE_ASM_GLOBAL_LABEL(label) \ - ".globl " SYMBOL_STRING(label) "\n" \ - HIDE_SYMBOL(label) "\n" \ - SYMBOL_STRING(label) ":\n" -#endif - -#define OFFLINE_ASM_LOCAL_LABEL(label) LOCAL_LABEL_STRING(label) ":\n" - #endif // LLIntOfflineAsmConfig_h |