Displaying 3 results from an estimated 3 matches for "current_function_decl".
2006 Sep 01
3
[LLVMdev] gfortran: patch, question
...ecl.c (revision 160)
+++ gcc/fortran/trans-decl.c (working copy)
@@ -1334,7 +1334,11 @@
}
/* Create RTL for function definition. */
+#ifndef ENABLE_LLVM
make_decl_rtl (fndecl);
+#else
+ make_decl_llvm (fndecl);
+#endif
init_function_start (fndecl);
@@ -2472,8 +2476,11 @@
current_function_decl = fndecl;
rest_of_decl_compilation (fndecl, 1, 0);
-
+#ifndef ENABLE_LLVM
make_decl_rtl (fndecl);
+#else
+ make_decl_llvm (fndecl);
+#endif
init_function_start (fndecl);
Thanks,
-mike
--
Michael McCracken
UCSD CSE PhD Candidate
research: http://www.cse.ucsd.edu/~mmccrack/
misc: http...
2006 Sep 01
0
[LLVMdev] gfortran: patch, question
On Fri, 1 Sep 2006, Michael McCracken wrote:
> Hi, I have a first quick patch and a question. The patch links f951
> with g++ when LLVM is enabled. It's at the end of this email.
Thanks, applied!
> I wanted to know if I should submit patches with comments around them
> like the "APPLE LOCAL LLVM" ones that mark the LLVM-only changes to
> the tree. I'd like to
2006 Sep 01
2
[LLVMdev] gfortran: patch, question
Hi, I have a first quick patch and a question. The patch links f951
with g++ when LLVM is enabled. It's at the end of this email.
I wanted to know if I should submit patches with comments around them
like the "APPLE LOCAL LLVM" ones that mark the LLVM-only changes to
the tree. I'd like to make it as easy as possible to apply these, so
let me know any rules I should be following.