glsl/loops: Allocate loop_terminator using new(mem_ctx) syntax.
authorPaul Berry <stereotype441@gmail.com>
Thu, 28 Nov 2013 22:46:38 +0000 (14:46 -0800)
committerPaul Berry <stereotype441@gmail.com>
Mon, 9 Dec 2013 18:54:53 +0000 (10:54 -0800)
commit4bbf6d1d2b20bccd784a326f33bdb860032db361
tree6de75414e2518d4080fb99a607d981610499559b
parent714e1b331ed1b2dfffac4accb4ebf5a01d3f961f
glsl/loops: Allocate loop_terminator using new(mem_ctx) syntax.

Patches to follow will introduce code into the loop_terminator
constructor.  Allocating loop_terminator using new(mem_ctx) syntax
will ensure that the constructor runs.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/loop_analysis.cpp