2009-07-17 02:04:31 +08:00
|
|
|
//===--------------- LLVMContextImpl.cpp - Implementation ------*- C++ -*--===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file implements LLVMContextImpl, the opaque implementation
|
|
|
|
// of LLVMContext.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "LLVMContextImpl.h"
|
|
|
|
#include "llvm/Constants.h"
|
|
|
|
#include "llvm/DerivedTypes.h"
|
|
|
|
#include "llvm/LLVMContext.h"
|
2009-07-29 05:49:47 +08:00
|
|
|
#include "llvm/Metadata.h"
|
2009-07-17 02:04:31 +08:00
|
|
|
using namespace llvm;
|
|
|
|
|
2009-07-22 04:13:12 +08:00
|
|
|
LLVMContextImpl::LLVMContextImpl(LLVMContext &C) :
|
2009-08-01 05:35:40 +08:00
|
|
|
Context(C), TheTrueVal(0), TheFalseVal(0) { }
|