aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4isel_p.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@me.com>2013-06-17 16:32:21 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-19 16:48:22 +0200
commit23bdca417bde716c79168ab372083fd885607123 (patch)
tree8e4a34b437174c20c68b1baab16e25423135ee01 /src/qml/compiler/qv4isel_p.h
parentd2628d9d7015e4b75007471d150acedecaa0c6c1 (diff)
Add linear scan register allocation.
Currently disabled for all platforms. Will be enabled step-by-step when specific platforms get supported. Change-Id: I144c6c991b1666e1ff752d776bca0a7b57a4fe7c Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4isel_p.h')
-rw-r--r--src/qml/compiler/qv4isel_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4isel_p.h b/src/qml/compiler/qv4isel_p.h
index 2de7ba6306..947583a907 100644
--- a/src/qml/compiler/qv4isel_p.h
+++ b/src/qml/compiler/qv4isel_p.h
@@ -154,8 +154,8 @@ public: // to implement by subclasses:
virtual void inplaceElementOp(V4IR::AluOp oper, V4IR::Temp *source, V4IR::Temp *targetBaseTemp, V4IR::Temp *targetIndexTemp) = 0;
virtual void inplaceMemberOp(V4IR::AluOp oper, V4IR::Temp *source, V4IR::Temp *targetBase, const QString &targetName) = 0;
-private:
- void callBuiltin(V4IR::Call *c, V4IR::Temp *temp);
+protected:
+ virtual void callBuiltin(V4IR::Call *c, V4IR::Temp *result);
};
} // namespace IR