aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4global_p.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2018-06-06 16:29:13 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2018-08-27 08:37:12 +0000
commitbf136379521d543c54d5c0ce377471ff76dce35e (patch)
tree3ab1957556a73ebbf7e1f236e8186572f1f1fac4 /src/qml/jsruntime/qv4global_p.h
parent83ded6108a947453744114543146a7f691f6f1aa (diff)
V4: Split PlatformAssemblerCommon (and base classes) in its own file
This makes it easier to re-use them later on, without inheriting all extra stuff that the baseline JIT needs. Change-Id: I9368b16017b8b9d99f8c005a5b47ec9f9ed09fb0 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4global_p.h')
-rw-r--r--src/qml/jsruntime/qv4global_p.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h
index b4dac505cd..e812894a97 100644
--- a/src/qml/jsruntime/qv4global_p.h
+++ b/src/qml/jsruntime/qv4global_p.h
@@ -381,7 +381,16 @@ enum class ObjectLiteralArgument {
Setter
};
-}
+namespace JIT {
+
+enum class CallResultDestination {
+ Ignore,
+ InAccumulator,
+};
+
+} // JIT namespace
+
+} // QV4 namespace
Q_DECLARE_TYPEINFO(QV4::PropertyAttributes, Q_PRIMITIVE_TYPE);