[Orc] Add experimental C bindings for Orc.
[oota-llvm.git] / unittests / ExecutionEngine / Orc / IndirectionUtilsTest.cpp
index 1a533b05838d94e153947f24a1758a7f75bb3d4f..38b60ea7fcd471035378f6c7f14fc0065a31f2b6 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)>(MB.getModule(), "");
+  Function *F = MB.createFunctionDecl<void(DummyStruct, DummyStruct)>("");
   SmallVector<AttributeSet, 4> Attrs;
   Attrs.push_back(
     AttributeSet::get(MB.getModule()->getContext(), 1U,