aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4compilercontext_p.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2017-08-03 12:11:41 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2017-08-03 11:15:48 +0000
commit40aa22e0fd8234a7a71abf0ef8f42524d306e0df (patch)
treefce9a4448cc348dcbf99eebca2e1827c21b0d6c6 /src/qml/compiler/qv4compilercontext_p.h
parenta88bc4e5aa0dfbf71cbe53c1dd8bfbae4d2a90f6 (diff)
Store arguments in the stack frame before the locals/temps
All escaping arguments will still be loaded/stored from/to the CallData, but this is not the common case. In a subsequent patch we can make the caller prepare the stack frame, and for the common case we don't even need to copy arguments around. Change-Id: I3fbb6fe575a564d05a9fd5dcc0c8f4129eac3bc2 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compilercontext_p.h')
-rw-r--r--src/qml/compiler/qv4compilercontext_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4compilercontext_p.h b/src/qml/compiler/qv4compilercontext_p.h
index f3481f0251..0a204d8c24 100644
--- a/src/qml/compiler/qv4compilercontext_p.h
+++ b/src/qml/compiler/qv4compilercontext_p.h
@@ -103,7 +103,7 @@ struct Context {
QString name;
int line = 0;
int column = 0;
-
+ int registerCount = 0;
int functionIndex = -1;
enum MemberType {