[llvm-commits] [gcc-plugin] r82461 - /gcc-plugin/trunk/llvm-convert.cpp

Duncan Sands baldrick at free.fr
Mon Sep 21 10:25:49 PDT 2009


Author: baldrick
Date: Mon Sep 21 12:25:49 2009
New Revision: 82461

URL: http://llvm.org/viewvc/llvm-project?rev=82461&view=rev
Log:
Fix a thinko introduced during CALL_EXPR -> GIMPLE_CALL
conversion.

Modified:
    gcc-plugin/trunk/llvm-convert.cpp

Modified: gcc-plugin/trunk/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-convert.cpp?rev=82461&r1=82460&r2=82461&view=diff

==============================================================================
--- gcc-plugin/trunk/llvm-convert.cpp (original)
+++ gcc-plugin/trunk/llvm-convert.cpp Mon Sep 21 12:25:49 2009
@@ -2750,7 +2750,7 @@
 
   // Handle the result, including struct returns.
   ABIConverter.HandleReturnType(gimple_call_return_type(stmt),
-                                fndecl ? fndecl : gimple_call_return_type(stmt),
+                                fndecl ? fndecl : fntype,
                                 fndecl ? DECL_BUILT_IN(fndecl) : false);
 
   // Pass the static chain, if any, as the first parameter.





More information about the llvm-commits mailing list