aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jit/qv4isel_masm_p.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2014-04-15 15:26:54 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-15 15:31:28 +0200
commitc7c3d03391ad4f1c6a914b32780eb786712f61e4 (patch)
tree4b9544331536f1a83569267cfea1d9035865ef98 /src/qml/jit/qv4isel_masm_p.h
parent377aeea46cb90f84e5a0e867e5f68cd9f89f56b1 (diff)
V4 IR: prevent accidental detaches of QVectors.
Change-Id: I20ebf44ff0609f6833f7e59a4f2fb312be11b8c1 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jit/qv4isel_masm_p.h')
-rw-r--r--src/qml/jit/qv4isel_masm_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jit/qv4isel_masm_p.h b/src/qml/jit/qv4isel_masm_p.h
index 0e8db93e85..d589223d7e 100644
--- a/src/qml/jit/qv4isel_masm_p.h
+++ b/src/qml/jit/qv4isel_masm_p.h
@@ -72,7 +72,7 @@ public:
virtual void run(int functionIndex);
- void *addConstantTable(QVector<QV4::Primitive> *values);
+ const void *addConstantTable(QVector<QV4::Primitive> *values);
protected:
virtual QV4::CompiledData::CompilationUnit *backendCompileStep();