[llvm-commits] [dragonegg] r150478 - /dragonegg/trunk/src/x86/Target.cpp

Duncan Sands baldrick at free.fr
Tue Feb 14 05:17:30 PST 2012


Author: baldrick
Date: Tue Feb 14 07:17:30 2012
New Revision: 150478

URL: http://llvm.org/viewvc/llvm-project?rev=150478&view=rev
Log:
Mark this internal subroutine "static".

Modified:
    dragonegg/trunk/src/x86/Target.cpp

Modified: dragonegg/trunk/src/x86/Target.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/x86/Target.cpp?rev=150478&r1=150477&r2=150478&view=diff
==============================================================================
--- dragonegg/trunk/src/x86/Target.cpp (original)
+++ dragonegg/trunk/src/x86/Target.cpp Tue Feb 14 07:17:30 2012
@@ -1443,7 +1443,7 @@
 /// This routine uses GCC implementation to find required register classes.
 /// The original implementation of this routine is based on
 /// llvm_x86_64_should_pass_aggregate_in_mixed_regs code.
-void
+static void
 llvm_x86_64_get_multiple_return_reg_classes(tree TreeType, Type * /*Ty*/,
                                             std::vector<Type*> &Elts) {
   enum x86_64_reg_class Class[MAX_CLASSES];





More information about the llvm-commits mailing list