[llvm-commits] [gcc-plugin] r76742 - /gcc-plugin/trunk/gcc-patches/i386_static.diff
Duncan Sands
baldrick at free.fr
Wed Jul 22 09:09:01 PDT 2009
Author: baldrick
Date: Wed Jul 22 11:09:01 2009
New Revision: 76742
URL: http://llvm.org/viewvc/llvm-project?rev=76742&view=rev
Log:
Expose some methods in i386.c, for the moment at
least.
Added:
gcc-plugin/trunk/gcc-patches/i386_static.diff
Added: gcc-plugin/trunk/gcc-patches/i386_static.diff
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/gcc-patches/i386_static.diff?rev=76742&view=auto
==============================================================================
--- gcc-plugin/trunk/gcc-patches/i386_static.diff (added)
+++ gcc-plugin/trunk/gcc-patches/i386_static.diff Wed Jul 22 11:09:01 2009
@@ -0,0 +1,40 @@
+Index: gcc.fsf.master/gcc/config/i386/i386.c
+===================================================================
+--- gcc.fsf.master.orig/gcc/config/i386/i386.c 2009-07-22 17:44:01.303541063 +0200
++++ gcc.fsf.master/gcc/config/i386/i386.c 2009-07-22 17:49:05.282542208 +0200
+@@ -4954,7 +4954,7 @@
+ case, we return the original mode and warn ABI change if CUM isn't
+ NULL. */
+
+-static enum machine_mode
++enum machine_mode
+ type_natural_mode (const_tree type, CUMULATIVE_ARGS *cum)
+ {
+ enum machine_mode mode = TYPE_MODE (type);
+@@ -5085,7 +5085,7 @@
+ See the x86-64 PS ABI for details.
+ */
+
+-static int
++int
+ classify_argument (enum machine_mode mode, const_tree type,
+ enum x86_64_reg_class classes[MAX_CLASSES], int bit_offset)
+ {
+@@ -5465,7 +5465,7 @@
+
+ /* Examine the argument and return set number of register required in each
+ class. Return 0 iff parameter should be passed in memory. */
+-static int
++int
+ examine_argument (enum machine_mode mode, const_tree type, int in_return,
+ int *int_nregs, int *sse_nregs)
+ {
+@@ -6145,7 +6145,7 @@
+
+ /* Return true when TYPE should be 128bit aligned for 32bit argument passing
+ ABI. */
+-static bool
++bool
+ contains_aligned_value_p (tree type)
+ {
+ enum machine_mode mode = TYPE_MODE (type);
More information about the llvm-commits
mailing list