aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4identifiertable_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-06-23 22:25:53 +0200
committerLars Knoll <lars.knoll@qt.io>2018-07-02 19:29:40 +0000
commit86f88521fbea59e8ec53e50cc1e3e68a61f53c40 (patch)
tree25f72eaf70639409d3c8a8469a05b7be0a0da03b /src/qml/jsruntime/qv4identifiertable_p.h
parent8728a2b494eb384b65bd4e7c6ec785435a37de9d (diff)
Replace Identifier by PropertyKey
Change all uses of Identifier to use the new PropertyKey class and get rid of Identifier. Change-Id: Ib7e83b06a3c923235e145b6e083fe980dc240452 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4identifiertable_p.h')
-rw-r--r--src/qml/jsruntime/qv4identifiertable_p.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/qml/jsruntime/qv4identifiertable_p.h b/src/qml/jsruntime/qv4identifiertable_p.h
index 6e6600d055..9d9f7c02cf 100644
--- a/src/qml/jsruntime/qv4identifiertable_p.h
+++ b/src/qml/jsruntime/qv4identifiertable_p.h
@@ -82,23 +82,23 @@ public:
Heap::String *insertString(const QString &s);
Heap::Symbol *insertSymbol(const QString &s);
- Identifier identifier(const Heap::String *str) {
+ PropertyKey identifier(const Heap::String *str) {
if (str->identifier.isValid())
return str->identifier;
return identifierImpl(str);
}
- Identifier identifier(const QV4::String *str) {
+ PropertyKey identifier(const QV4::String *str) {
return identifier(str->d());
}
- Identifier identifier(const QString &s);
- Identifier identifier(const char *s, int len);
+ PropertyKey identifier(const QString &s);
+ PropertyKey identifier(const char *s, int len);
- Identifier identifierImpl(const Heap::String *str);
+ PropertyKey identifierImpl(const Heap::String *str);
- Heap::StringOrSymbol *resolveId(Identifier i) const;
- Q_QML_PRIVATE_EXPORT Heap::String *stringForId(Identifier i) const;
- Q_QML_PRIVATE_EXPORT Heap::Symbol *symbolForId(Identifier i) const;
+ Heap::StringOrSymbol *resolveId(PropertyKey i) const;
+ Q_QML_PRIVATE_EXPORT Heap::String *stringForId(PropertyKey i) const;
+ Q_QML_PRIVATE_EXPORT Heap::Symbol *symbolForId(PropertyKey i) const;
void markObjects(MarkStack *markStack);
void sweep();