commit | 826a39cb14244820e8539a2328bb52447348f184 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Fri Aug 20 02:04:52 2010 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Fri Aug 20 02:46:05 2010 -0700 |
tree | 16cdd90a9d310ec9047b2cf2f4379fa593688658 | |
parent | e0ef4800f5deb81ed57dccf8ba39e01c12f4beff [diff] |
ast_to_hir: Fix crash when a function shadows a variable. The code would attempt to add a new signature to the ir_function, which didn't exist. Simply bailing out/returning early seems reasonable. Fixes piglit test redeclaration-02.vert, and fixes a crash in redeclaration-03.vert (the test still fails).