projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MIR Serialization: Serialize the pointer IR expression values in the machine
[oota-llvm.git]
/
lib
/
CodeGen
/
StackColoring.cpp
diff --git
a/lib/CodeGen/StackColoring.cpp
b/lib/CodeGen/StackColoring.cpp
index faf94b67fe77b08e0c8c0c935b5159fc40e6ed22..3541b33a8441f42a6c52b7124faf64477a67631d 100644
(file)
--- a/
lib/CodeGen/StackColoring.cpp
+++ b/
lib/CodeGen/StackColoring.cpp
@@
-48,7
+48,6
@@
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Module.h"
-#include "llvm/MC/MCInstrItineraries.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
@@
-364,7
+363,7
@@
void StackColoring::calculateLocalLiveness() {
}
}
}
}
- BBSet =
NextBBSet
;
+ BBSet =
std::move(NextBBSet)
;
}// while changed.
}
}// while changed.
}
@@
-464,7
+463,7
@@
void StackColoring::remapInstructions(DenseMap<int, int> &SlotRemap) {
continue;
if (SlotRemap.count(VI.Slot)) {
DEBUG(dbgs() << "Remapping debug info for ["
continue;
if (SlotRemap.count(VI.Slot)) {
DEBUG(dbgs() << "Remapping debug info for ["
- <<
DIVariable(VI.Var).
getName() << "].\n");
+ <<
cast<DILocalVariable>(VI.Var)->
getName() << "].\n");
VI.Slot = SlotRemap[VI.Slot];
FixedDbg++;
}
VI.Slot = SlotRemap[VI.Slot];
FixedDbg++;
}