[cfe-commits] r46135 - /cfe/trunk/CodeGen/CGExpr.cpp

Nate Begeman natebegeman at mac.com
Thu Jan 17 10:03:22 PST 2008


Author: sampo
Date: Thu Jan 17 12:03:22 2008
New Revision: 46135

URL: http://llvm.org/viewvc/llvm-project?rev=46135&view=rev
Log:
Fix for EmitCallExpr changed in OverloadExpr patch


Modified:
    cfe/trunk/CodeGen/CGExpr.cpp

Modified: cfe/trunk/CodeGen/CGExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CGExpr.cpp?rev=46135&r1=46134&r2=46135&view=diff

==============================================================================
--- cfe/trunk/CodeGen/CGExpr.cpp (original)
+++ cfe/trunk/CodeGen/CGExpr.cpp Thu Jan 17 12:03:22 2008
@@ -450,7 +450,7 @@
           return EmitBuiltinExpr(builtinID, E);
         
   llvm::Value *Callee = EmitScalarExpr(E->getCallee());
-  return EmitCallExpr(Callee, E->getType(), E->arg_begin());
+  return EmitCallExpr(Callee, E->getCallee()->getType(), E->arg_begin());
 }
 
 RValue CodeGenFunction::EmitCallExpr(Expr *FnExpr, Expr *const *Args) {





More information about the cfe-commits mailing list