Fix multiple usage of an rvalue in constructor component splitting.
authorEric Anholt <eric@anholt.net>
Tue, 22 Jun 2010 21:22:42 +0000 (14:22 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 23 Jun 2010 17:55:25 +0000 (10:55 -0700)
commit53e48d3f6344964d99be89340343630dbf4175d1
treea3aa6351fa0d9eaa062f538c5340a46170dd2f14
parent865cf2d1f5e499916d360a246ad85554f3ff5b02
Fix multiple usage of an rvalue in constructor component splitting.

Store the thing in a variable and deref it for each swizzle if we have to.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ast_function.cpp