nv50/ir: Fix memory corruption in Function::orderInstructions().
authorFrancisco Jerez <currojerez@riseup.net>
Mon, 14 Nov 2011 23:38:15 +0000 (00:38 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 14 Apr 2012 19:54:00 +0000 (21:54 +0200)
commit18294844584f1a64454593c056148201c4d79ef7
treea20248a55ac7a89803dd88dd9c8afdd3e7a3a781
parentab382fbc35f6fd007dc278fcf4bc0dd3c0987a60
nv50/ir: Fix memory corruption in Function::orderInstructions().

"iter" doesn't reference a BasicBlock directly, but a Node::Graph,
i.e. BasicBlock::get() is casting to the wrong pointer type.
src/gallium/drivers/nv50/codegen/nv50_ir_bb.cpp