summaryrefslogtreecommitdiff
path: root/ir_variable.cpp
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-04-05 18:07:27 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-04-07 11:42:36 -0700
commit8c46ed24906ee10dd2f2cfaf4cf9803eca1ba523 (patch)
tree71eac354c7f81b6811f2dbbbc471e9b7353881f2 /ir_variable.cpp
parent4cf20cd37c12c6243a09d52739d3d47f030a1799 (diff)
Generate correct IR for do-while loops
Previously the same code was generated for a while loop and a do-while loop. This pulls the code that generates the conditional break into a separate method. This method is called either at the beginning or the end depending on the loop type. Reported-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'ir_variable.cpp')
0 files changed, 0 insertions, 0 deletions