[llvm-commits] [llvm-gcc-4.2] r63307 - /llvm-gcc-4.2/trunk/gcc/tree-nested.c

Duncan Sands baldrick at free.fr
Thu Jan 29 05:32:56 PST 2009


Author: baldrick
Date: Thu Jan 29 07:32:56 2009
New Revision: 63307

URL: http://llvm.org/viewvc/llvm-project?rev=63307&view=rev
Log:
LLVM only has one intrinsic (init_trampoline) which
combines gcc's init_trampoline and adjust_trampoline
(Chris asked for this).  These code changes are there
to take account of this.

Modified:
    llvm-gcc-4.2/trunk/gcc/tree-nested.c

Modified: llvm-gcc-4.2/trunk/gcc/tree-nested.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/tree-nested.c?rev=63307&r1=63306&r2=63307&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/tree-nested.c (original)
+++ llvm-gcc-4.2/trunk/gcc/tree-nested.c Thu Jan 29 07:32:56 2009
@@ -527,7 +527,6 @@
       field = make_node (FIELD_DECL);
       DECL_NAME (field) = DECL_NAME (decl);
       /* LLVM LOCAL begin */
-      /* FIXME: Keep the LLVM-way? */
 #ifdef ENABLE_LLVM
       TREE_TYPE (field) = TYPE_POINTER_TO (TREE_TYPE (decl));
 #else
@@ -1831,7 +1830,6 @@
 	continue;
 
       /* LLVM LOCAL begin */
-      /* FIXME: Keep the LLVM-way? */
 #ifdef ENABLE_LLVM
       /* Lookup the trampoline.  */
       x = lookup_tramp_for_decl (i, decl, INSERT);
@@ -2078,7 +2076,6 @@
 	  arg = tree_cons (NULL, x, arg);
 
 	  /* LLVM LOCAL begin */
-          /* FIXME: Keep the LLVM-way? */
 #ifdef ENABLE_LLVM
 	  /* Create a local variable to hold the trampoline code.  */
 	  y = create_tmp_var_for (root, get_trampoline_type(),





More information about the llvm-commits mailing list