aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ModuleMaker/ModuleMaker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ModuleMaker/ModuleMaker.cpp')
-rw-r--r--examples/ModuleMaker/ModuleMaker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ModuleMaker/ModuleMaker.cpp b/examples/ModuleMaker/ModuleMaker.cpp
index 322835e..59a86d0 100644
--- a/examples/ModuleMaker/ModuleMaker.cpp
+++ b/examples/ModuleMaker/ModuleMaker.cpp
@@ -27,7 +27,7 @@ int main() {
// Create the "module" or "program" or "translation unit" to hold the
// function
- Module *M = new Module("test", &Context);
+ Module *M = new Module("test", Context);
// Create the main function: first create the type 'int ()'
FunctionType *FT = FunctionType::get(Type::Int32Ty, /*not vararg*/false);