[llvm-commits] [llvm] r57373 - /llvm/trunk/lib/VMCore/IntrinsicInst.cpp

Daniel Dunbar daniel at zuster.org
Fri Oct 10 23:52:31 PDT 2008


Tanya,

Can you add this to the 2.4 branch. It is an innocuous and obvious bug fix.
Pasto
in
http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/IntrinsicInst.cpp?view=diff&r1=52890&r2=52891

Sorry for being late to the 2.4 party...

 - Daniel

On Fri, Oct 10, 2008 at 11:40 PM, Daniel Dunbar <daniel at zuster.org> wrote:

> Author: ddunbar
> Date: Sat Oct 11 01:40:56 2008
> New Revision: 57373
>
> URL: http://llvm.org/viewvc/llvm-project?rev=57373&view=rev
> Log:
> Unbreak DbgStopPointInst::getFileName().
>
> Modified:
>    llvm/trunk/lib/VMCore/IntrinsicInst.cpp
>
> Modified: llvm/trunk/lib/VMCore/IntrinsicInst.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/IntrinsicInst.cpp?rev=57373&r1=57372&r2=57373&view=diff
>
>
> ==============================================================================
> --- llvm/trunk/lib/VMCore/IntrinsicInst.cpp (original)
> +++ llvm/trunk/lib/VMCore/IntrinsicInst.cpp Sat Oct 11 01:40:56 2008
> @@ -64,7 +64,7 @@
>   GlobalVariable *GV = cast<GlobalVariable>(getContext());
>   if (!GV->hasInitializer()) return NULL;
>   ConstantStruct *CS = cast<ConstantStruct>(GV->getInitializer());
> -  return CS->getOperand(4);
> +  return CS->getOperand(3);
>  }
>
>  Value *DbgStopPointInst::getDirectory() const {
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20081010/6a8ebb30/attachment.html>


More information about the llvm-commits mailing list