From 7b2c9178b93fc31779c05553dcc48930d66342e2 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 15 Aug 2013 12:48:05 +0200 Subject: Ported lookups to use the compiled data infrastructure Change-Id: Idf75cd51087ea825f22aabda59661be461fd3b86 Reviewed-by: Lars Knoll --- src/qml/compiler/qv4isel_p.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/qml/compiler/qv4isel_p.h') diff --git a/src/qml/compiler/qv4isel_p.h b/src/qml/compiler/qv4isel_p.h index 1e1d72d0ec..24ad5812f0 100644 --- a/src/qml/compiler/qv4isel_p.h +++ b/src/qml/compiler/qv4isel_p.h @@ -70,6 +70,9 @@ public: void setUseFastLookups(bool b) { useFastLookups = b; } int stringId(const QString &str) { return jsUnitGenerator.registerString(str); } + uint registerGetterLookup(const QString &str) { return jsUnitGenerator.registerGetterLookup(str); } + uint registerSetterLookup(const QString &str) { return jsUnitGenerator.registerSetterLookup(str); } + uint registerGlobalGetterLookup(const QString &str) { return jsUnitGenerator.registerGlobalGetterLookup(str); } protected: QV4::Function *createFunctionMapping(QV4::Function *outer, V4IR::Function *irFunction); -- cgit v1.2.3