diff options
-rw-r--r-- | src/qml/jsruntime/qv4context.cpp | 1 | ||||
-rw-r--r-- | src/qml/jsruntime/qv4string_p.h | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4context.cpp b/src/qml/jsruntime/qv4context.cpp index 6de6424f0e..b4edd34380 100644 --- a/src/qml/jsruntime/qv4context.cpp +++ b/src/qml/jsruntime/qv4context.cpp @@ -281,7 +281,6 @@ ReturnedValue ExecutionContext::getProperty(String *name) } case Heap::ExecutionContext::Type_CallContext: { Heap::CallContext *c = static_cast<Heap::CallContext *>(ctx); - name->makeIdentifier(); Identifier *id = name->identifier(); uint index = c->internalClass->find(id); diff --git a/src/qml/jsruntime/qv4string_p.h b/src/qml/jsruntime/qv4string_p.h index 2f34dd6139..d1b936bb4e 100644 --- a/src/qml/jsruntime/qv4string_p.h +++ b/src/qml/jsruntime/qv4string_p.h @@ -181,7 +181,8 @@ struct Q_QML_PRIVATE_EXPORT String : public Managed { makeIdentifierImpl(); } - void makeIdentifierImpl() const; + // slow path + Q_NEVER_INLINE void makeIdentifierImpl() const; static uint createHashValue(const QChar *ch, int length, uint *subtype) { |