[masm] Fix function name replacement in disassembly on ia32
authorSimon Hausmann <simon.hausmann@digia.com>
Sun, 17 Feb 2013 21:12:22 +0000 (22:12 +0100)
committerErik Verbruggen <erik.verbruggen@digia.com>
Tue, 19 Feb 2013 10:12:57 +0000 (11:12 +0100)
commite4809181f2798154c71d5b3fc779f2dee3df8f1c
tree10fb715aa3da3283ea8835c816027cc2e165eec1
parentb76ec5578467fe2261c542e920b334bdd5983ded
[masm] Fix function name replacement in disassembly on ia32

Cast the void* to a quintptr, to make sure we call the right
QByteArray::number overload depending on the size of a pointer
on the archicture. Otherwise we generate 0x1324 strings that
we can't successfully replace with the function names in the
disassembler output.

Change-Id: Iddc82534487d93547b597d39286b92ffdff6da6c
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
src/v4/qv4isel_masm.cpp