From a3a380f334aa1335a802fe429c199db8ccb1e862 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Tue, 12 Sep 2017 10:39:53 +0200 Subject: 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 --- src/qml/jsruntime/qv4context.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/qml/jsruntime/qv4context.cpp') 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(ctx); - name->makeIdentifier(); Identifier *id = name->identifier(); uint index = c->internalClass->find(id); -- cgit v1.2.3