[llvm-commits] CVS: llvm-gcc/gcc/config/alpha/alpha.c

Andrew Lenharth alenhar2 at cs.uiuc.edu
Thu Feb 24 20:28:29 PST 2005



Changes in directory llvm-gcc/gcc/config/alpha:

alpha.c updated: 1.1.1.2 -> 1.2
---
Log message:

make va_list be a pointer on alpha

---
Diffs of the changes:  (+5 -0)

 alpha.c |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm-gcc/gcc/config/alpha/alpha.c
diff -u llvm-gcc/gcc/config/alpha/alpha.c:1.1.1.2 llvm-gcc/gcc/config/alpha/alpha.c:1.2
--- llvm-gcc/gcc/config/alpha/alpha.c:1.1.1.2	Tue Jan 13 10:49:40 2004
+++ llvm-gcc/gcc/config/alpha/alpha.c	Thu Feb 24 22:28:13 2005
@@ -52,6 +52,7 @@
 #include "langhooks.h"
 #include <splay-tree.h>
 #include "cfglayout.h"
+#include "llvm-out.h"
 
 /* Specify which cpu to schedule for.  */
 
@@ -6091,6 +6092,10 @@
 {
   tree base, ofs, record, type_decl;
 
+  /* ABUSE the ABI in a major way here */
+  if (EMIT_LLVM)
+    return ptr_type_node;
+
   if (TARGET_ABI_OPEN_VMS || TARGET_ABI_UNICOSMK)
     return ptr_type_node;
 






More information about the llvm-commits mailing list