Displaying 2 results from an estimated 2 matches for "instbegin".
Did you mean:
inst_begin
2011 Aug 31
0
[LLVMdev] [PATCH] Split init.trampoline into init.trampoline & adjust.trampoline
...poline). Of course, this is useless if there are
> + // writes to the trampoline between the two instructions.
> +
> + // We look at all the instructions before the adjust.trampoline in its basic
> + // block.
> +
> + BasicBlock::iterator InstIterator = AdjustTramp,
> + InstBegin = AdjustTramp->getParent()->begin();
> + IntrinsicInst *In = NULL;
Why is In defined here and not locally inside the loop below?
> +
> + InstIterator--;
What if AdjustTramp was the first instruction in the basic block? I think you
should first compare InstIterator with InstBegi...
2011 Aug 29
3
[LLVMdev] [PATCH] Split init.trampoline into init.trampoline & adjust.trampoline
Hi!
Attached patches split init.trampoline into adjust.trampoline and
init.trampoline, like in gcc.
As mentioned in the previous mail, I've not made a documentation
patch, since I'm not sure about what the documented semantics of
llvm.adjust.trampoline should be.
Thanks!
--
Sanjoy Das
http://playingwithpointers.com
-------------- next part --------------
A non-text attachment was