[llvm-commits] [gcc-plugin] r79524 - /gcc-plugin/trunk/llvm-cache.c
Duncan Sands
baldrick at free.fr
Thu Aug 20 04:44:04 PDT 2009
Author: baldrick
Date: Thu Aug 20 06:44:03 2009
New Revision: 79524
URL: http://llvm.org/viewvc/llvm-project?rev=79524&view=rev
Log:
Return the value passed in. The lack of a return
statement explains some nasty crashes!
Modified:
gcc-plugin/trunk/llvm-cache.c
Modified: gcc-plugin/trunk/llvm-cache.c
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-cache.c?rev=79524&r1=79523&r2=79524&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-cache.c (original)
+++ gcc-plugin/trunk/llvm-cache.c Thu Aug 20 06:44:03 2009
@@ -86,4 +86,6 @@
}
(*slot)->val = val;
+
+ return val;
}
More information about the llvm-commits
mailing list