1 //===-- ModuleProvider.cpp - Base implementation for module providers -----===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // Minimal implementation of the abstract interface for providing a module.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/ModuleProvider.h"
15 #include "llvm/Module.h"
18 /// ctor - always have a valid Module
20 ModuleProvider::ModuleProvider() : TheModule(0) { }
22 /// dtor - when we leave, we take our Module with us
24 ModuleProvider::~ModuleProvider() {