summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/llint/LLIntData.cpp
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2014-10-20 19:19:56 +0200
committerFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2014-10-20 20:29:12 +0200
commit7a7433bfa61e80b91d1e9e7cf4b44ee8fdc431a0 (patch)
tree2ca7eb63ddb38472305f41e8e5b81c89cd20b9f0 /Source/JavaScriptCore/llint/LLIntData.cpp
parentee21e513f3ed68af68e529b43c8fda94dfcc49ff (diff)
parent7778f881ff7dc92fca44dd414b02e7345f8db930 (diff)
downloadqtwebkit-7a7433bfa61e80b91d1e9e7cf4b44ee8fdc431a0.tar.gz
Merge remote-tracking branch 'origin/5.4' into dev
Conflicts: Tools/qmake/mkspecs/features/configure.prf Change-Id: I3a704585aaa8bbf4ba4e249248195b9271890981
Diffstat (limited to 'Source/JavaScriptCore/llint/LLIntData.cpp')
-rw-r--r--Source/JavaScriptCore/llint/LLIntData.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/llint/LLIntData.cpp b/Source/JavaScriptCore/llint/LLIntData.cpp
index f91da9c0a..f1e367510 100644
--- a/Source/JavaScriptCore/llint/LLIntData.cpp
+++ b/Source/JavaScriptCore/llint/LLIntData.cpp
@@ -116,7 +116,11 @@ void Data::performAssertions(VM& vm)
#if !ASSERT_DISABLED
Vector<int> testVector;
testVector.resize(42);
+#if USE(JSVALUE64) && OS(WINDOWS)
+ ASSERT(bitwise_cast<uint32_t*>(&testVector)[4] == 42);
+#else
ASSERT(bitwise_cast<uint32_t*>(&testVector)[sizeof(void*)/sizeof(uint32_t) + 1] == 42);
+#endif
ASSERT(bitwise_cast<int**>(&testVector)[0] == testVector.begin());
#endif