[llvm-commits] CVS: gcc-3.4/gcc/llvm-expand.c
Chris Lattner
lattner at cs.uiuc.edu
Sun Mar 7 22:12:02 PST 2004
Changes in directory gcc-3.4/gcc:
llvm-expand.c updated: 1.19 -> 1.20
---
Log message:
Fix bug in previous checkin
---
Diffs of the changes: (+1 -1)
Index: gcc-3.4/gcc/llvm-expand.c
diff -u gcc-3.4/gcc/llvm-expand.c:1.19 gcc-3.4/gcc/llvm-expand.c:1.20
--- gcc-3.4/gcc/llvm-expand.c:1.19 Sun Mar 7 21:32:59 2004
+++ gcc-3.4/gcc/llvm-expand.c Sun Mar 7 22:11:34 2004
@@ -5087,7 +5087,7 @@
llvm_value *Op0 = llvm_expand_expr(Fn, TREE_OPERAND(exp, 0), 0);
llvm_value *Op1 = llvm_expand_expr(Fn, TREE_OPERAND(exp, 1), 0);
llvm_type *IntPtrTy =
- llvm_type_get_integer(llvm_type_get_size(VoidPtrTy), 0);
+ llvm_type_get_integer(llvm_type_get_size(VoidPtrTy)*8, 0);
Op1 = cast_if_type_not_equal(Fn, Op1, IntPtrTy);
Op1 = cast_if_type_not_equal(Fn, Op1, LongTy);
/* FIXME: What do we do about bitfields here??? */
More information about the llvm-commits
mailing list