Make the spiller responsible for updating the LiveStacks analysis.
llvm-svn: 117337
diff --git a/llvm/lib/CodeGen/LiveStackAnalysis.cpp b/llvm/lib/CodeGen/LiveStackAnalysis.cpp
index 92aec6a..895bd2e 100644
--- a/llvm/lib/CodeGen/LiveStackAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveStackAnalysis.cpp
@@ -28,6 +28,8 @@
INITIALIZE_PASS(LiveStacks, "livestacks",
"Live Stack Slot Analysis", false, false)
+char &llvm::LiveStacksID = LiveStacks::ID;
+
void LiveStacks::getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
AU.addPreserved<SlotIndexes>();