Move the talloc_parent lookup down in a few hot paths.
authorEric Anholt <eric@anholt.net>
Thu, 24 Jun 2010 22:18:39 +0000 (15:18 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 24 Jun 2010 22:18:39 +0000 (15:18 -0700)
commit6b01b50888d22ee330df44240591051cb55cf2a9
tree51bdeade4b0f6e086a1cd43f692fb1d4ba7c3b6f
parente33c10328caec29616a5433b1d1df9088f3a84df
Move the talloc_parent lookup down in a few hot paths.

talloc_parent is still 80% of our runtime, but likely talloc_parent
lookups will be reduced as we improve the handling of memory
ownership.
ir_constant_expression.cpp
ir_dead_code.cpp
ir_vec_index_to_swizzle.cpp