FunctionComparator: don't rely on argument evaluation order.
authorErik Eckstein <eeckstein@apple.com>
Fri, 11 Nov 2016 22:21:39 +0000 (22:21 +0000)
committerErik Eckstein <eeckstein@apple.com>
Fri, 11 Nov 2016 22:21:39 +0000 (22:21 +0000)
commitc1d52e5c53ef7eeaabedbe092a8da0d6e02e1ef0
tree825ebafe865b55753f6af9fec68098fcea955b71
parent3ccc39ef7c4b31cdcc9fab1c13616022104481ad
FunctionComparator: don't rely on argument evaluation order.

This is a follow-up on the recent refactoring of the FunctionMerge pass.
It should fix a fail of the new FunctionComparator unittest whe compiling with MSVC.

llvm-svn: 286648
llvm/lib/Transforms/Utils/FunctionComparator.cpp