Match change in EmitCallExpr

llvm-svn: 46136
This commit is contained in:
Nate Begeman 2008-01-17 18:06:09 +00:00
parent d5b534e16f
commit 1c075a1c9d
1 changed files with 2 additions and 2 deletions

View File

@ -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;