Avoid using the RHS of an assignment twice.
authorEric Anholt <eric@anholt.net>
Wed, 23 Jun 2010 21:51:14 +0000 (14:51 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 23 Jun 2010 22:20:29 +0000 (15:20 -0700)
commit2731a739d047e4aadc1cab4bcf8c01c1cf8e86db
tree58cba6d5734b5274ad622e6030f50608b8a4b9df
parent959a9ecdd8fbc3375e4149f2b44d253622ff12ee
Avoid using the RHS of an assignment twice.

This would fix double-evaluation of assignment RHS expressions,
including possible side effects.
ast_to_hir.cpp