search for: statepointoperand

Displaying 1 result from an estimated 1 matches for "statepointoperand".

Did you mean: statepointoperands
2015 Jan 19
2
[LLVMdev] [INCOMPLETE] [GC] Support wrapping vararg functions in statepoint
...DAG/StatepointLowering.cpp @@ -238,6 +238,9 @@ static SDNode *lowerCallFromStatepoint(const CallInst &CI, // differently. Hopefully, this is slightly more robust w.r.t. calling // convention, return values, and other function attributes. Value *ActualCallee = const_cast<Value *>(StatepointOperands.actualCallee()); + FunctionType *FTy = + cast<FunctionType>(cast<PointerType>(ActualCallee->getType())->getElementType()); + bool isVarArg = FTy->isVarArg(); std::vector<Value *> Args; CallInst::const_op_iterator arg_begin = StatepointOperands.call_args_begi...