commit | 9f5b2aa7fba203469386acc413c23dd41a713bc9 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Tue Jul 14 23:09:55 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Tue Jul 14 23:09:55 2009 +0000 |
tree | f15d2aa3fea09947494a5d0bb36583dbe3be000a | |
parent | a9c6d9a1c4dfea3b5fce0a92297f6fa0a0b4c4f7 [diff] [blame] |
Move EVER MORE stuff over to LLVMContext. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75703 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/TailDuplication.cpp b/lib/Transforms/Scalar/TailDuplication.cpp index 684b0963..5f72210 100644 --- a/lib/Transforms/Scalar/TailDuplication.cpp +++ b/lib/Transforms/Scalar/TailDuplication.cpp
@@ -285,7 +285,7 @@ if (I->isUsedOutsideOfBlock(DestBlock)) { // We found a use outside of the tail. Create a new stack slot to // break this inter-block usage pattern. - DemoteRegToStack(*I); + DemoteRegToStack(*Context, *I); } // We are going to have to map operands from the original block B to the new