[cfe-commits] r67969 - /cfe/trunk/lib/CodeGen/CGCall.cpp
Eli Friedman
eli.friedman at gmail.com
Sun Mar 29 13:16:41 PDT 2009
On Sun, Mar 29, 2009 at 11:38 AM, Daniel Dunbar <daniel at zuster.org> wrote:
> Better as:
> --
> ElemTy = (Context.getTypeAlign(Ty) > 32) ? llvm::Type::Int64Ty :
> llvm::Type::Int32Ty;
> SizeRegs = llvm::RoundUpToAlignment(Context.getTypeSize(Ty),
> Context.getTypeSize(ElemTy));
Calling Context.getTypeSize() on an llvm::Type* isn't legal...
-Eli
More information about the cfe-commits
mailing list