MIR Printer: Use a module slot tracker to print global address operands. NFC.
authorAlex Lorenz <arphaman@gmail.com>
Tue, 7 Jul 2015 23:27:53 +0000 (23:27 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 7 Jul 2015 23:27:53 +0000 (23:27 +0000)
This commit adopts the 'ModuleSlotTracker' class, which was surfaced in r240842,
to print the global address operands. This change ensures that the slot tracker
won't have to be recreated every time a global address operand is printed,
making the MIR printing more efficient.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241645 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found