gallivm: fix output stream flushing in error case for disassembly.
authorRoland Scheidegger <sroland@vmware.com>
Wed, 14 May 2014 01:23:09 +0000 (03:23 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 14 May 2014 14:23:33 +0000 (16:23 +0200)
commit18c6454ad19d5d323af7b3318f18c409b84c7a12
treec38d7cf40ccbd633d873df14940dfb2f2f84c6f6
parentc5828b0599a5c00ebab488b795c63a21f1dc53cd
gallivm: fix output stream flushing in error case for disassembly.

When there's an error, also need to flush the stream, otherwise an assertion
is hit (meaning you don't actually see the error neither).
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp