aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4isel_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-08-15 12:48:05 +0200
committerLars Knoll <lars.knoll@digia.com>2013-08-15 15:28:37 +0200
commit7b2c9178b93fc31779c05553dcc48930d66342e2 (patch)
tree939b3247eeac5a1c480c80ce7bffda23980940bf /src/qml/compiler/qv4isel_p.h
parentab44ecae18bba8aa09c6c12c37aca8f6df454cdc (diff)
Ported lookups to use the compiled data infrastructure
Change-Id: Idf75cd51087ea825f22aabda59661be461fd3b86 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4isel_p.h')
-rw-r--r--src/qml/compiler/qv4isel_p.h3
1 files changed, 3 insertions, 0 deletions
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);