commit | c4c9045dabfc0f0d37dea1b3eb2992654d5b2db1 | [log] [tgz] |
---|---|---|
author | Mike Stump <mrs@apple.com> | Tue Oct 27 22:09:17 2009 +0000 |
committer | Mike Stump <mrs@apple.com> | Tue Oct 27 22:09:17 2009 +0000 |
tree | b0b67df3768f1d10455a4fe39d2efb155ae6aa79 | |
parent | 25950e8c13a298a9f182b8a15d901441472816eb [diff] |
__builtin_object_size refinements. Ensure we handle expressions with side-effects up front, as when we switch to the llvm intrinsic call for __builtin_object_size later, it will have two evaluations. We also finish off the intrinsic version of the code so we can just turn it on once llvm has the intrinsic. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85324 91177308-0d34-0410-b5e6-96231b3b80d8