Mercurial > projects > ldc
diff ir/irclass.cpp @ 1343:c21a6654cce2
Update for metadata changes in LLVM trunk.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Mon, 11 May 2009 11:59:22 +0200 |
parents | 4099548c80e0 |
children | 8d501abecd24 |
line wrap: on
line diff
--- a/ir/irclass.cpp Sun May 10 22:26:04 2009 +0200 +++ b/ir/irclass.cpp Mon May 11 11:59:22 2009 +0200 @@ -82,7 +82,7 @@ bool hasDestructor = (classdecl->dtor != NULL); bool hasCustomDelete = (classdecl->aggDelete != NULL); // Construct the fields - LLConstant* mdVals[CD_NumFields]; + MDNodeField* mdVals[CD_NumFields]; mdVals[CD_BodyType] = llvm::UndefValue::get(bodyType); mdVals[CD_Finalize] = LLConstantInt::get(LLType::Int1Ty, hasDestructor); mdVals[CD_CustomDelete] = LLConstantInt::get(LLType::Int1Ty, hasCustomDelete);