cyclegraph: mergeNodes(): return early if we violate RMW
authorBrian Norris <banorris@uci.edu>
Wed, 6 Feb 2013 22:42:00 +0000 (14:42 -0800)
committerBrian Norris <banorris@uci.edu>
Wed, 6 Feb 2013 22:42:00 +0000 (14:42 -0800)
commit3e538ef764be5b82ef8a58f1fcdf98708cd8aa73
tree97cc56b9ac1631eca0ae5bcb22461d01df8c69cf
parent58a4edbf1f1eba39ebe6386df49ea6ff7655a206
cyclegraph: mergeNodes(): return early if we violate RMW

To be consistent, and to prevent unecessary merging work, we should
simply return from the mergeNodes() function as soon as we know it has
failed.
cyclegraph.cc