aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-09-19 21:26:49 +0000
committerTed Kremenek <kremenek@apple.com>2007-09-19 21:26:49 +0000
commit96345186a5fefff5c88195f6f2505232215b258e (patch)
treeb8a33911e6d48f1296cb770987345dae2d20e70a /lib/Target/ARM/ARMLoadStoreOptimizer.cpp
parentf2038b1d9325b23e73a20b57fcb3508f4dda1817 (diff)
Previously GraphWriter assumed operator*() for node_iterator always
returned a reference type. This patch allows operator*() to return a non-reference type while still maintaining the old behavior when it does return a reference type. This patch was motivated when I tried to use "df_iterator" (see llvm/ADT/DepthFirstIterator.h) as a "node_iterator", as df_iterator does not return a reference type and thus we would get a compilation error when trying to take the address of a temporary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMLoadStoreOptimizer.cpp')
0 files changed, 0 insertions, 0 deletions