From a12b23521fd5cc826a787a45cfa6630857a8939e Mon Sep 17 00:00:00 2001 From: Vadim Chugunov Date: Fri, 1 Aug 2014 02:23:05 -0700 Subject: Update LLVM --- src/rustllvm/RustWrapper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rustllvm/RustWrapper.cpp') diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp index 8a3e06aabc6..8051235da20 100644 --- a/src/rustllvm/RustWrapper.cpp +++ b/src/rustllvm/RustWrapper.cpp @@ -282,7 +282,7 @@ extern "C" LLVMValueRef LLVMDIBuilderCreateSubroutineType( LLVMValueRef ParameterTypes) { return wrap(Builder->createSubroutineType( unwrapDI(File), - unwrapDI(ParameterTypes))); + unwrapDI(ParameterTypes))); } extern "C" LLVMValueRef LLVMDIBuilderCreateFunction( @@ -634,7 +634,7 @@ extern "C" void LLVMDICompositeTypeSetTypeArray( LLVMValueRef CompositeType, LLVMValueRef TypeArray) { - unwrapDI(CompositeType).setTypeArray(unwrapDI(TypeArray)); + unwrapDI(CompositeType).setArrays(unwrapDI(TypeArray)); } extern "C" char *LLVMTypeToString(LLVMTypeRef Type) { -- cgit 1.4.1-3-g733a5