diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-08-15 12:48:05 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-08-15 15:28:37 +0200 |
commit | 7b2c9178b93fc31779c05553dcc48930d66342e2 (patch) | |
tree | 939b3247eeac5a1c480c80ce7bffda23980940bf /src/qml/compiler/qv4isel_p.h | |
parent | ab44ecae18bba8aa09c6c12c37aca8f6df454cdc (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.h | 3 |
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); |