aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jit/qv4assembler_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-11-27 14:33:36 +0100
committerLars Knoll <lars.knoll@qt.io>2018-01-02 14:25:30 +0000
commitde73a1f9b4ad42e4b67d4d6045ff8ca9994e9a7d (patch)
treebdaaf23abdfad1f3237279448320523bd06a9285 /src/qml/jit/qv4assembler_p.h
parent5f8410750bebb31c1b61f3baca947e962afc1890 (diff)
Optimize JIT generated for for CreateCallContext
Added a storeHeapObject() call to the assembler, to ensure we store the pointer returned by newCallContext() correctly on 32 and 64 bit platforms. Change-Id: I2141d5dd3cdd39a9b8886236100e0437159c6fb9 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jit/qv4assembler_p.h')
-rw-r--r--src/qml/jit/qv4assembler_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jit/qv4assembler_p.h b/src/qml/jit/qv4assembler_p.h
index 5cd64096b1..37d4232a17 100644
--- a/src/qml/jit/qv4assembler_p.h
+++ b/src/qml/jit/qv4assembler_p.h
@@ -95,6 +95,7 @@ public:
void storeLocal(int index, int level = 0);
void loadString(int stringId);
void loadValue(ReturnedValue value);
+ void storeHeapObject(int reg);
// numeric ops
void unot();