summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/llint/LowLevelInterpreter.asm
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-10-14 16:33:13 +0200
committerAllan Sandfeld Jensen <allan.jensen@digia.com>2014-10-15 11:26:22 +0200
commit84fb07ce1b9fb9c44ff5d50b195654d11ccf8763 (patch)
treed86670054a53818da5c0c938c068874171cdf623 /Source/JavaScriptCore/llint/LowLevelInterpreter.asm
parentf4f6ca3c19dcea8160044b0aec87e59bfaf8d5c5 (diff)
downloadqtwebkit-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/LowLevelInterpreter.asm')
-rw-r--r--Source/JavaScriptCore/llint/LowLevelInterpreter.asm4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.asm b/Source/JavaScriptCore/llint/LowLevelInterpreter.asm
index c4d86ee3f..22ba11164 100644
--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.asm
+++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.asm
@@ -161,7 +161,9 @@ end
# This must match wtf/Vector.h
const VectorBufferOffset = 0
-if JSVALUE64
+if WIN64
+ const VectorSizeOffset = 16
+elsif JSVALUE64
const VectorSizeOffset = 12
else
const VectorSizeOffset = 8