[llvm-commits] CVS: llvm-gcc/gcc/llvm-expand.c
Chris Lattner
lattner at cs.uiuc.edu
Tue Jul 26 17:24:52 PDT 2005
Changes in directory llvm-gcc/gcc:
llvm-expand.c updated: 1.108 -> 1.109
---
Log message:
fix a major 'oops' in my previous patch
---
Diffs of the changes: (+1 -1)
llvm-expand.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm-gcc/gcc/llvm-expand.c
diff -u llvm-gcc/gcc/llvm-expand.c:1.108 llvm-gcc/gcc/llvm-expand.c:1.109
--- llvm-gcc/gcc/llvm-expand.c:1.108 Tue Jul 26 17:05:49 2005
+++ llvm-gcc/gcc/llvm-expand.c Tue Jul 26 19:24:41 2005
@@ -4398,7 +4398,7 @@
tree fndecl = TREE_OPERAND (TREE_OPERAND (exp, 0), 0);
llvm_type *FnType = llvm_type_get_from_tree(TREE_TYPE(fndecl));
llvm_type *VAListTy = GET_FUNCTION_TYPE_ARGUMENT(FnType, 0);
- llvm_type *FnTy, *Ty = llvm_type_create_function(1, VoidTy);
+ llvm_type *Ty, *FnTy = llvm_type_create_function(1, VoidTy);
FnTy->Elements[1] = VAListTy;
Ty = llvm_type_get_cannonical_function(FnTy);
llvm_va_start_fn = CreateIntrinsicFnWithType("llvm.va_start", Ty);
More information about the llvm-commits
mailing list