summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-01-27 01:34:14 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-01-27 01:34:14 +0000
commitd649c0ad56237c66ce1bfdf349fcc4718031f663 (patch)
tree6bfc744b999fd0dfdfe472c514f6f4def4ba5d88 /lldb/source/Interpreter/CommandInterpreter.cpp
parentaa772feb8ec053b2c8cef2fe6af5676157334f36 (diff)
downloadbcm5719-llvm-d649c0ad56237c66ce1bfdf349fcc4718031f663.tar.gz
bcm5719-llvm-d649c0ad56237c66ce1bfdf349fcc4718031f663.zip
[PM] Refactor the core logic to run EarlyCSE over a function into an
object that manages a single run of this pass. This was already essentially how it worked. Within the run function, it would point members at *stack local* allocations that were only live for a single run. Instead, it seems much cleaner to have a utility object whose lifetime is clearly bounded by the run of the pass over the function and can use member variables in a more direct way. This also makes it easy to plumb the analyses used into it from the pass and will make it re-usable with the new pass manager. No functionality changed here, its just a refactoring. llvm-svn: 227162
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud