Move the re-stemming function up top and use it where it's currently inlined.
authorNick Lewycky <nicholas@mxc.ca>
Sat, 16 Apr 2011 02:05:18 +0000 (02:05 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 16 Apr 2011 02:05:18 +0000 (02:05 +0000)
commit0c4de8a4eb5fd6437b571611794ef84427fc4755
tree8aae5c2d53647feb8201445dbf0908ea03aed51d
parentb1928704201034c785a26296a49f69355eb56a05
Move the re-stemming function up top and use it where it's currently inlined.
Break the arc-profile code out to a function like the notes emission code is,
and reorder the functions in the file.

The only functionality change is that we no longer modify the Module when the
Module has no debug info to use.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129631 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/GCOVProfiling.cpp