[vmkit-commits] [vmkit] r145023 - /vmkit/trunk/lib/Mvm/Compiler/EscapeAnalysis.cpp

Gaël Thomas gael.thomas at lip6.fr
Mon Nov 21 01:19:55 PST 2011


Hi all!
I will begin the refactoring now. I think that it will be ready in
4/5hours. I send you a mail when it is done,
Gaël
2011/11/21 Will Dietz <wdietz2 at illinois.edu>:
> Author: wdietz2
> Date: Sun Nov 20 21:27:02 2011
> New Revision: 145023
>
> URL: http://llvm.org/viewvc/llvm-project?rev=145023&view=rev
> Log:
> Drop use of getNameStr, removed from LLVM in r144657
>
> Modified:
>    vmkit/trunk/lib/Mvm/Compiler/EscapeAnalysis.cpp
>
> Modified: vmkit/trunk/lib/Mvm/Compiler/EscapeAnalysis.cpp
> URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/Mvm/Compiler/EscapeAnalysis.cpp?rev=145023&r1=145022&r2=145023&view=diff
> ==============================================================================
> --- vmkit/trunk/lib/Mvm/Compiler/EscapeAnalysis.cpp (original)
> +++ vmkit/trunk/lib/Mvm/Compiler/EscapeAnalysis.cpp Sun Nov 20 21:27:02 2011
> @@ -218,7 +218,7 @@
>         // we don't end up with tons of allocations on the stack.
>         BasicBlock* BB = CurLoop->getLoopPreheader();
>         assert(BB && "No Preheader!");
> -        DEBUG(errs() << "Escape analysis hoisting to " << BB->getNameStr());
> +        DEBUG(errs() << "Escape analysis hoisting to " << BB->getName().str());
>         DEBUG(errs() << ": ");
>         DEBUG(errs() << *Alloc);
>         Alloc->removeFromParent();
> @@ -229,7 +229,7 @@
>                                       Alloc);
>       BitCastInst* BI = new BitCastInst(AI, Alloc->getType(), "", Alloc);
>       DEBUG(errs() << "escape");
> -      DEBUG(errs() << Alloc->getParent()->getParent()->getNameStr() << "\n");
> +      DEBUG(errs() << Alloc->getParent()->getParent()->getName().str() << "\n");
>       Alloc->replaceAllUsesWith(BI);
>       // If it's an invoke, replace the invoke with a direct branch.
>       if (InvokeInst *CI = dyn_cast<InvokeInst>(Alloc)) {
>
>
> _______________________________________________
> vmkit-commits mailing list
> vmkit-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/vmkit-commits
>



-- 
-------------------------------------------------------------------------------------------------
Gaël Thomas, Associate Professor,
University of Pierre and Marie Curie
Boite courrier 169, 217 - 26-00, REGAL Team, INRIA/LIP6,
4, place Jussieu, 75252 Paris Cedex 05, France
Web: http://pagesperso-systeme.lip6.fr/Gael.Thomas/
Phone (mob): +33 6 10 39 31 17           Fax : +33 1 44 27 70 00
-------------------------------------------------------------------------------------------------




More information about the vmkit-commits mailing list