Close memory leak in ir_call::get_error_instruction.
authorCarl Worth <cworth@cworth.org>
Thu, 24 Jun 2010 01:25:04 +0000 (18:25 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 24 Jun 2010 02:00:42 +0000 (19:00 -0700)
commite01193af325cbdde51b3219c85c58f19d5a87f1b
tree8d73fe130ac1b21361f260feb13e0beeae6348ae
parent522de3f5ecbfe3f84e92ac03d1438a44eb1beae7
Close memory leak in ir_call::get_error_instruction.

By propagating a 'ctx' parameter through these calls.

This fix happens to have no impact on glsl-orangebook-ch06-bump.frag,
(since it doesn't trigger any errors).
ast_function.cpp
hir_field_selection.cpp
ir.cpp
ir.h