[llvm-commits] [dragonegg] r105319 - /dragonegg/trunk/llvm-backend.cpp

Duncan Sands baldrick at free.fr
Wed Jun 2 04:03:43 PDT 2010


Author: baldrick
Date: Wed Jun  2 06:03:43 2010
New Revision: 105319

URL: http://llvm.org/viewvc/llvm-project?rev=105319&view=rev
Log:
This procedure is only used locally - make it static.

Modified:
    dragonegg/trunk/llvm-backend.cpp

Modified: dragonegg/trunk/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-backend.cpp?rev=105319&r1=105318&r2=105319&view=diff
==============================================================================
--- dragonegg/trunk/llvm-backend.cpp (original)
+++ dragonegg/trunk/llvm-backend.cpp Wed Jun  2 06:03:43 2010
@@ -979,7 +979,7 @@
 
 /// emit_global - Emit the specified VAR_DECL or aggregate CONST_DECL to LLVM as
 /// a global variable.  This function implements the end of assemble_variable.
-void emit_global(tree decl) {
+static void emit_global(tree decl) {
   // FIXME: Support alignment on globals: DECL_ALIGN.
   // FIXME: DECL_PRESERVE_P indicates the var is marked with attribute 'used'.
 





More information about the llvm-commits mailing list