Displaying 2 results from an estimated 2 matches for "returnty".
2011 Aug 31
0
[LLVMdev] [PATCH] Split init.trampoline into init.trampoline & adjust.trampoline
...p;NewFn) {
>
> switch (Name[0]) {
> default: break;
> + case 'i':
> + // This upgrades the old llvm.init.trampoline to the new
> + // llvm.init.trampoline and llvm.adjust.trampoline pair.
> + if (Name == "init.trampoline") {
> + Type *ReturnTy = FTy->getReturnType();
> +
> + // The new llvm.init.trampoline returns nothing.
> + if (ReturnTy->getTypeID() == Type::VoidTyID)
Simpler:
if (ReturnTy->isVoidTy())
> + break;
> +
> + assert(ReturnTy->isPointerTy () &&
> +...
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