V4 JIT: generate some strict (not) equal conditions
authorErik Verbruggen <erik.verbruggen@me.com>
Fri, 4 Oct 2013 14:06:16 +0000 (16:06 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 10 Oct 2013 07:54:24 +0000 (09:54 +0200)
commita967a9bdcc2c75a0270c2be48d845ded5332e4f0
treebb19264f0e045239103678d568d506d8094bbcd9
parentdcec03166c93fcbc9aa1ca97f53a6f436faa482c
V4 JIT: generate some strict (not) equal conditions

Checks for strict (not) equal to null, undefined, or a boolean value
can be generated without reserving extra registers, or doing a call.

This reduces the amount of runtime calls from >25mln to ~6500 for
v8-bench.js

Change-Id: If08d1124b2869227654b1233a89833c5b5e7b40c
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/compiler/qv4isel_masm.cpp
src/qml/compiler/qv4isel_masm_p.h
src/qml/compiler/qv4regalloc.cpp
src/qml/jsruntime/qv4runtime.cpp