diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2017-09-12 10:39:53 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2017-09-12 11:27:35 +0000 |
commit | a3a380f334aa1335a802fe429c199db8ccb1e862 (patch) | |
tree | e353ae4d6767f52852cbfac92d44ee7815499a0b /src/qml/jsruntime/qv4context.cpp | |
parent | e9803945e926d3318fd3f26cfd25308418c55234 (diff) |
Remove superfluous call to String::makeIdentifier
This is already done at the top of the method. Also mark the slow path
of makeIdentifier as never-inline, so it won't bloat functions when
makeIdentifier is inlined.
Change-Id: I707f9b82f555314bea154014d8cbb876b26d0d4b
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4context.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4context.cpp | 1 |
1 files changed, 0 insertions, 1 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); |