Use ir_unop_b2i when converting a bool-to-int and add a missing break
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 11 Jun 2010 20:49:00 +0000 (13:49 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 11 Jun 2010 20:49:00 +0000 (13:49 -0700)
commit565185cd8f3ea636d3d2aaad9218d63323390464
tree57256a8f67d876f6d9e19afad6b7cc93080ed6fe
parent332920a940a0f60322389a604933e3dc60d96547
Use ir_unop_b2i when converting a bool-to-int and add a missing break

The previous code just had dumb cut-and-paste errors.
ast_function.cpp