diff options
Diffstat (limited to 'Context.cc')
| -rw-r--r-- | Context.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Context.cc b/Context.cc new file mode 100644 index 0000000..ee88544 --- /dev/null +++ b/Context.cc @@ -0,0 +1,11 @@ +#include <llvm/IR/LLVMContext.h> + +#include "Context.hh" + +namespace pcc { +llvm::LLVMContext GlobalContext; + +Context::Context(const char* name) + : builder_(GlobalContext) + , module_(name, GlobalContext) {} +} // namespace pcc |
