Don't use scopes in the instanceOf operator
authorLars Knoll <lars.knoll@digia.com>
Wed, 26 Mar 2014 07:55:28 +0000 (08:55 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 27 Mar 2014 19:39:59 +0000 (20:39 +0100)
commit56c5a21ccea2451e4878b9ceb7e420caa763965d
treee20df8425aa56de2b7c2ac782130f978e4da34ee
parentc0fe2ec596410a664990df9023bf21b393d119c7
Don't use scopes in the instanceOf operator

There's no need to use scopes here, as instanceof can't
trigger any calls into the memorymanager. This slightly
speeds up the code.

Change-Id: Ie7f5c8f3982df1e24d21cfc4e0841d479a75c664
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/jsruntime/qv4runtime.cpp