aboutsummaryrefslogtreecommitdiff
path: root/examples/Fibonacci/fibonacci.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-03-13 01:48:32 +0000
committerDan Gohman <gohman@apple.com>2008-03-13 01:48:32 +0000
commit0961ec1afe336a0a4f523455c25f5d5edc8d3ee1 (patch)
treeb2e8c2ce6c6d72c79366cc7c9eb94c2dcbc172af /examples/Fibonacci/fibonacci.cpp
parentc2f12ab5e5258a949c0cfff074bf57fe0c08d4e5 (diff)
Change PMTopLevelManager's PassManagers vector element type from
Pass* to PMDataManager*. PMDataManager is more specific than Pass, so this more accurately describes the objects that are being stored. This eliminates the need for several dynamic_casts to PMDataManager*. It does introduce one dynamic_cast though, in dumpPasses(). Give this one a comment describing why a dynamic_cast is being used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/Fibonacci/fibonacci.cpp')
0 files changed, 0 insertions, 0 deletions