about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-08-06 19:26:19 +0000
committerbors <bors@rust-lang.org>2014-08-06 19:26:19 +0000
commit51e19e750185f60e404412f702f8f2edc7bc1245 (patch)
tree2758cc7e8a6f208de1b72b6ea93e358e98ac1f1d /src/rustllvm/RustWrapper.cpp
parentdd20f0961149022505359c27e308d04b06b672a7 (diff)
parentffa258846ad7669a67850da9b1d5fa534e87f04f (diff)
downloadrust-51e19e750185f60e404412f702f8f2edc7bc1245.tar.gz
rust-51e19e750185f60e404412f702f8f2edc7bc1245.zip
auto merge of #16308 : alexcrichton/rust/rollup, r=alexcrichton
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
-rw-r--r--src/rustllvm/RustWrapper.cpp4
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) {