Fixed rebase fallout .

This commit is contained in:
Vadim Chugunov
2013-06-17 08:42:05 -07:00
parent 1e682e29eb
commit adff46250e
5 changed files with 122 additions and 130 deletions

View File

@@ -565,7 +565,9 @@ extern "C" bool LLVMRustStartMultithreading() {
typedef DIBuilder* DIBuilderRef;
template<typename DIT>
DIT unwrapDI(LLVMValueRef ref) { return DIT(ref ? unwrap<MDNode>(ref) : NULL); }
DIT unwrapDI(LLVMValueRef ref) {
return DIT(ref ? unwrap<MDNode>(ref) : NULL);
}
extern "C" DIBuilderRef LLVMDIBuilderCreate(LLVMModuleRef M) {
return new DIBuilder(*unwrap(M));