aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4runtimeapi_p.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2017-06-20 11:28:27 +0200
committerLars Knoll <lars.knoll@qt.io>2017-06-21 09:19:59 +0000
commit48d77ce4c83c2c1d2f3ee3d01c69550e115c3226 (patch)
treeb62edfd573502ded0ff436c250992684d3770567 /src/qml/jsruntime/qv4runtimeapi_p.h
parent5c86161fa28e951435a735a299b886fbfbe3bb16 (diff)
Add support for post increment/decrement
Change-Id: Ie3f03a548105fe49d29e3d60bf823435f21b0340 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4runtimeapi_p.h')
-rw-r--r--src/qml/jsruntime/qv4runtimeapi_p.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4runtimeapi_p.h b/src/qml/jsruntime/qv4runtimeapi_p.h
index 302facba06..fdb24d5ca2 100644
--- a/src/qml/jsruntime/qv4runtimeapi_p.h
+++ b/src/qml/jsruntime/qv4runtimeapi_p.h
@@ -160,8 +160,10 @@ struct ExceptionCheck<void (*)(QV4::NoThrowEngine *, A, B, C)> {
F(ReturnedValue, uMinus, (const Value &value)) \
F(ReturnedValue, uNot, (const Value &value)) \
F(ReturnedValue, complement, (const Value &value)) \
- F(ReturnedValue, increment, (const Value &value)) \
- F(ReturnedValue, decrement, (const Value &value)) \
+ F(ReturnedValue, preIncrement, (const Value &value)) \
+ F(ReturnedValue, preDecrement, (const Value &value)) \
+ F(ReturnedValue, postIncrement, (Value *value)) \
+ F(ReturnedValue, postDecrement, (Value *value)) \
\
/* binary operators */ \
F(ReturnedValue, instanceof, (ExecutionEngine *engine, const Value &left, const Value &right)) \