diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-09-10 13:17:58 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-09-10 13:17:58 +0000 |
commit | d62287dc9184755cdff680600cb312a6eba6a117 (patch) | |
tree | bdc5f7782080437db12bebc1312b2ceb6c09ed47 /llvm/lib/CodeGen/StackColoring.cpp | |
parent | ed242a0f1c2cfaabae6833c9c7ed3a97aca67c29 (diff) | |
download | bcm5719-llvm-d62287dc9184755cdff680600cb312a6eba6a117.tar.gz bcm5719-llvm-d62287dc9184755cdff680600cb312a6eba6a117.zip |
Stack Coloring: Debug prints to print the slot number and not the array index.
llvm-svn: 163509
Diffstat (limited to 'llvm/lib/CodeGen/StackColoring.cpp')
-rw-r--r-- | llvm/lib/CodeGen/StackColoring.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/StackColoring.cpp b/llvm/lib/CodeGen/StackColoring.cpp index 45c9af21bb2..10ebe5126e4 100644 --- a/llvm/lib/CodeGen/StackColoring.cpp +++ b/llvm/lib/CodeGen/StackColoring.cpp @@ -646,7 +646,8 @@ bool StackColoring::runOnMachineFunction(MachineFunction &Func) { First->MergeRangesInAsValue(*Second, First->getValNumInfo(0)); SlotRemap[SecondSlot] = FirstSlot; SortedSlots[J] = -1; - DEBUG(dbgs()<<"Merging #"<<I<<" and slots #"<<J<<" together.\n"); + DEBUG(dbgs()<<"Merging #"<<FirstSlot<<" and slots #"<< + SecondSlot<<" together.\n"); unsigned MaxAlignment = std::max(MFI->getObjectAlignment(FirstSlot), MFI->getObjectAlignment(SecondSlot)); |