diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-10-14 16:33:13 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-10-15 11:26:22 +0200 |
commit | 84fb07ce1b9fb9c44ff5d50b195654d11ccf8763 (patch) | |
tree | d86670054a53818da5c0c938c068874171cdf623 /Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h | |
parent | f4f6ca3c19dcea8160044b0aec87e59bfaf8d5c5 (diff) | |
download | qtwebkit-84fb07ce1b9fb9c44ff5d50b195654d11ccf8763.tar.gz |
Fix LLInt vector offsets on Windows 64
Derived classes on Windows x64 are 64bit aligned placing the m_size
property of Vector slightly differently than on other platforms.
Change-Id: I186de5ea200abfbdd3bdf7502f3f427cb6890f3c
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h')
-rw-r--r-- | Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h b/Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h index bad62ddf8..9010757b4 100644 --- a/Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h +++ b/Source/JavaScriptCore/llint/LLIntOfflineAsmConfig.h @@ -104,6 +104,12 @@ #define OFFLINE_ASM_JSVALUE64 0 #endif +#if USE(JSVALUE64) && OS(WINDOWS) +#define OFFLINE_ASM_WIN64 1 +#else +#define OFFLINE_ASM_WIN64 0 +#endif + #if !ASSERT_DISABLED #define OFFLINE_ASM_ASSERT_ENABLED 1 #else |