diff options
| author | Vadim Chugunov <vadimcn@gmail.com> | 2014-08-01 02:23:05 -0700 |
|---|---|---|
| committer | Vadim Chugunov <vadimcn@gmail.com> | 2014-08-04 17:43:56 -0700 |
| commit | a12b23521fd5cc826a787a45cfa6630857a8939e (patch) | |
| tree | d21c2e7496af5acc14cbfb671cb2fbc2fcc94b57 /src/rustllvm/RustWrapper.cpp | |
| parent | 081991e7e1d4181a22687331b0f504765370835d (diff) | |
| download | rust-a12b23521fd5cc826a787a45cfa6630857a8939e.tar.gz rust-a12b23521fd5cc826a787a45cfa6630857a8939e.zip | |
Update LLVM
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
| -rw-r--r-- | src/rustllvm/RustWrapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<DIFile>(File), - unwrapDI<DIArray>(ParameterTypes))); + unwrapDI<DITypeArray>(ParameterTypes))); } extern "C" LLVMValueRef LLVMDIBuilderCreateFunction( @@ -634,7 +634,7 @@ extern "C" void LLVMDICompositeTypeSetTypeArray( LLVMValueRef CompositeType, LLVMValueRef TypeArray) { - unwrapDI<DICompositeType>(CompositeType).setTypeArray(unwrapDI<DIArray>(TypeArray)); + unwrapDI<DICompositeType>(CompositeType).setArrays(unwrapDI<DIArray>(TypeArray)); } extern "C" char *LLVMTypeToString(LLVMTypeRef Type) { |
