On Mar 2, 2007, at 6:36 AM, Duncan Sands wrote: > The third operand of a COMPONENT_REF represents the byte offset of > the field; it is accessed using component_ref_field_offset. Most of > the time you can get away with extracting the offset from the type, > using DECL_FIELD_OFFSET, which is what is done currently, but this > can fail if DECL_FIELD_OFFSET contains a PLACEHOLDER_EXPR for example. > The NON_LVALUE_EXPR Ada testcase also tests this one.
Applied. - Devang _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits