diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-10-09 17:40:37 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-10-13 16:29:11 +0200 |
commit | 0c58a486f551e7e7b63d438e3d32f21f876327d1 (patch) | |
tree | ea1f785e167ecffe171bd88a380f64205428c4ba /Source/JavaScriptCore/bytecode/BytecodeBasicBlock.h | |
parent | 13ebee35e169a8b1210851ec494951815c70620c (diff) | |
download | qtwebkit-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/bytecode/BytecodeBasicBlock.h')
0 files changed, 0 insertions, 0 deletions