diff options
author | Erik Verbruggen <erik.verbruggen@me.com> | 2013-06-17 16:32:21 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-19 16:48:22 +0200 |
commit | 23bdca417bde716c79168ab372083fd885607123 (patch) | |
tree | 8e4a34b437174c20c68b1baab16e25423135ee01 /src/qml/compiler/qv4isel_p.h | |
parent | d2628d9d7015e4b75007471d150acedecaa0c6c1 (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.h | 4 |
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 |