More correct type tagging for constant created from binops
authorLars Knoll <lars.knoll@digia.com>
Thu, 25 Oct 2012 12:27:14 +0000 (14:27 +0200)
committerSimon Hausmann <simon.hausmann@digia.com>
Thu, 25 Oct 2012 12:56:42 +0000 (14:56 +0200)
commit6ce5bc6abac40b9286cd68a948d5e278a37e1487
treec1c2ccbd7da6e5ea629109b2d1cd4c3d793b7ef7
parent4149d244163729b37e143c7e58ed788ce32b20c1
More correct type tagging for constant created from binops

In many cases the result of the binop is actually a boolean,
not a number. Correctly type the constant as boolean in this
case.

Change-Id: I3c9b1f5b9fbd15bf97e4bafc9ceee6947343fd32
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
qv4codegen.cpp