[Orc] Revert the C bindngs commit, r251472, while I debug some builder failures.
[oota-llvm.git] / unittests / ExecutionEngine / Orc / IndirectionUtilsTest.cpp
index 38b60ea7fcd471035378f6c7f14fc0065a31f2b6..1a533b05838d94e153947f24a1758a7f75bb3d4f 100644 (file)
@@ -18,7 +18,7 @@ namespace {
 
 TEST(IndirectionUtilsTest, MakeStub) {
   ModuleBuilder MB(getGlobalContext(), "x86_64-apple-macosx10.10", "");
-  Function *F = MB.createFunctionDecl<void(DummyStruct, DummyStruct)>("");
+  Function *F = MB.createFunctionDecl<void(DummyStruct, DummyStruct)>(MB.getModule(), "");
   SmallVector<AttributeSet, 4> Attrs;
   Attrs.push_back(
     AttributeSet::get(MB.getModule()->getContext(), 1U,