aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-08-30 14:38:01 +0200
committerLars Knoll <lars.knoll@qt.io>2017-09-01 12:30:30 +0000
commit50828bc6ed9112956170a68dffe72431a21fddd9 (patch)
tree60cd60e614516fb77fe27fe7dc9a4f453b6e2b31 /src/qml/jsruntime/qv4context_p.h
parent85fe2814a1397a17804d8eace4a70e5b7df854b6 (diff)
Use the context member in CallData
Store the current context in the context member instead of passing it along as arguments. Change-Id: If3dd0d32eddb2a02bcbf65fe6e8d15142403170e Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4context_p.h')
-rw-r--r--src/qml/jsruntime/qv4context_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h
index 75786cea9b..8bcf89c1a4 100644
--- a/src/qml/jsruntime/qv4context_p.h
+++ b/src/qml/jsruntime/qv4context_p.h
@@ -89,7 +89,7 @@ struct CallData
}
Value function;
- Value dummy_context;
+ Value context;
Value thisObject;
Value args[1];