commit | 77b19134104c3e96424dc010f2b69c3faf580e68 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Mon May 28 06:10:56 2012 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Mon May 28 06:10:56 2012 +0000 |
tree | 98ad84f042cb7de6acb92c2079d32b4491d740f0 | |
parent | d509d0b532ec2358b3f341d4a4cd1411cb8b5db2 [diff] |
Implement the indirect counter increment code in a better way. Instead of replicating the code for every place it's needed, we instead generate a function that does that for us. This function is local to the executable, so there shouldn't be any writing violations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157564 91177308-0d34-0410-b5e6-96231b3b80d8