aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4isel_moth.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-06-22 10:52:28 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2017-06-22 09:18:15 +0000
commit4ac85039a2e3cd092ad51ae726e01d1eef46e37a (patch)
tree21d88ebbe121f76d44da6105ef77a57ca8ac7409 /src/qml/compiler/qv4isel_moth.cpp
parent5863a093cc04a37b26471a308de5115014612375 (diff)
Various compile fixes
Make sure all libs and tests compile again after the latest changes. Change-Id: I749d3d2d0109cc97df2ecec93809ea8a1b3014a9 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4isel_moth.cpp')
-rw-r--r--src/qml/compiler/qv4isel_moth.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4isel_moth.cpp b/src/qml/compiler/qv4isel_moth.cpp
index dbb67346d2..d2503af5fc 100644
--- a/src/qml/compiler/qv4isel_moth.cpp
+++ b/src/qml/compiler/qv4isel_moth.cpp
@@ -1435,3 +1435,10 @@ Param InstructionSelection::getParam(IR::Expr *e) {
return Param();
}
}
+
+QQmlRefPointer<CompiledData::CompilationUnit> ISelFactory::createUnitForLoading()
+{
+ QQmlRefPointer<CompiledData::CompilationUnit> result;
+ result.adopt(new Moth::CompilationUnit);
+ return result;
+}