summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/API/JSStringRefCF.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-10-09 17:40:37 +0200
committerAllan Sandfeld Jensen <allan.jensen@digia.com>2014-10-13 16:29:11 +0200
commit0c58a486f551e7e7b63d438e3d32f21f876327d1 (patch)
treeea1f785e167ecffe171bd88a380f64205428c4ba /Source/JavaScriptCore/API/JSStringRefCF.cpp
parent13ebee35e169a8b1210851ec494951815c70620c (diff)
downloadqtwebkit-0c58a486f551e7e7b63d438e3d32f21f876327d1.tar.gz
Fix CLoop on big-endian machines
Callee and ScopeChain are JSObject pointers and saved in the 64bit structure for JS registers. On a 32bit big-endian machine the actual pointer is offset by the PayloadOffset of 4 bytes, but on little-endian and 64bit architectures there is no offset. This patch fixes four places the payloadOffset was not correctly added on 32bit big-endian, and six places it was added on 64big big-endian when it shouldn't. Task-number: QTBUG-41896 Change-Id: I46b474bee9822b8040d1b7b2e8f31ce42e0adefe Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/API/JSStringRefCF.cpp')
0 files changed, 0 insertions, 0 deletions