forked from OSchip/llvm-project
parent
d5b534e16f
commit
1c075a1c9d
|
@ -29,8 +29,8 @@ RValue CodeGenFunction::EmitBuiltinExpr(unsigned BuiltinID, const CallExpr *E) {
|
|||
switch (BuiltinID) {
|
||||
default: {
|
||||
if (getContext().BuiltinInfo.isLibFunction(BuiltinID))
|
||||
return EmitCallExpr(CGM.getBuiltinLibFunction(BuiltinID), E->getType(),
|
||||
E->arg_begin());
|
||||
return EmitCallExpr(CGM.getBuiltinLibFunction(BuiltinID),
|
||||
E->getCallee()->getType(), E->arg_begin());
|
||||
|
||||
// See if we have a target specific intrinsic.
|
||||
Intrinsic::ID IntrinsicID;
|
||||
|
|
Loading…
Reference in New Issue