[llvm-commits] [llvm-gcc-4-2] r39810 - in /llvm-gcc-4-2/trunk/gcc/config/i386: i386.c llvm-i386-target.h
Duncan Sands
baldrick at free.fr
Fri Jul 13 08:37:31 PDT 2007
Author: baldrick
Date: Fri Jul 13 10:37:31 2007
New Revision: 39810
URL: http://llvm.org/viewvc/llvm-project?rev=39810&view=rev
Log:
Make it compile on i386.
Modified:
llvm-gcc-4-2/trunk/gcc/config/i386/i386.c
llvm-gcc-4-2/trunk/gcc/config/i386/llvm-i386-target.h
Modified: llvm-gcc-4-2/trunk/gcc/config/i386/i386.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4-2/trunk/gcc/config/i386/i386.c?rev=39810&r1=39809&r2=39810&view=diff
==============================================================================
--- llvm-gcc-4-2/trunk/gcc/config/i386/i386.c (original)
+++ llvm-gcc-4-2/trunk/gcc/config/i386/i386.c Fri Jul 13 10:37:31 2007
@@ -1123,7 +1123,8 @@
int x86_prefetch_sse;
/* ix86_regparm_string as a number */
-static int ix86_regparm;
+/* LLVM local */
+int ix86_regparm;
/* -mstackrealign option */
extern int ix86_force_align_arg_pointer;
Modified: llvm-gcc-4-2/trunk/gcc/config/i386/llvm-i386-target.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4-2/trunk/gcc/config/i386/llvm-i386-target.h?rev=39810&r1=39809&r2=39810&view=diff
==============================================================================
--- llvm-gcc-4-2/trunk/gcc/config/i386/llvm-i386-target.h (original)
+++ llvm-gcc-4-2/trunk/gcc/config/i386/llvm-i386-target.h Fri Jul 13 10:37:31 2007
@@ -35,6 +35,8 @@
`inreg` parameter attribute */
#define LLVM_TARGET_ENABLE_REGPARM
+extern int ix86_regparm;
+
#define LLVM_TARGET_INIT_REGPARM(local_regparm, type) \
{ \
tree attr; \
More information about the llvm-commits
mailing list