aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2017-09-12 10:39:53 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2017-09-12 11:27:35 +0000
commita3a380f334aa1335a802fe429c199db8ccb1e862 (patch)
treee353ae4d6767f52852cbfac92d44ee7815499a0b /src/qml/jsruntime/qv4context.cpp
parente9803945e926d3318fd3f26cfd25308418c55234 (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.cpp1
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);