OSDN Git Service

Refactor debugging code, NFC.
authorThan McIntosh <thanm@google.com>
Wed, 27 Apr 2016 19:26:25 +0000 (19:26 +0000)
committerThan McIntosh <thanm@google.com>
Wed, 27 Apr 2016 19:26:25 +0000 (19:26 +0000)
commited52756a755d36662411fdcbc2c67ed12be00830
treeea5cef16fbde0d0fc275a490414174ffaec663f4
parentbd4ea6e77b9fa3f5c87378a09ccac99c38826d9c
Refactor debugging code, NFC.

Summary:
Refactor debugging routines to reduce code duplication. Remove a couple
of #include's that were not needed. Don't require MachineDominator as a
prereq for this pass (not needed).

These changes split off from http://reviews.llvm.org/D18827.

Reviewers: wmi, gbiv, qcolombet

Subscribers: llvm-commits, davidxl, jevinskie

Differential Revision: http://reviews.llvm.org/D18992

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267766 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/StackColoring.cpp