Push LLVMContexts through the IntegerType APIs.
llvm-svn: 78948
This commit is contained in:
@@ -39,8 +39,13 @@ static const char *const PSVNames[] = {
|
||||
"ConstantPool"
|
||||
};
|
||||
|
||||
// FIXME: THIS IS A HACK!!!!
|
||||
// Eventually these should be uniqued on LLVMContext rather than in a managed
|
||||
// static. For now, we can safely use the global context for the time being to
|
||||
// squeak by.
|
||||
PseudoSourceValue::PseudoSourceValue() :
|
||||
Value(PointerType::getUnqual(Type::Int8Ty), PseudoSourceValueVal) {}
|
||||
Value(PointerType::getUnqual(Type::getInt8Ty(getGlobalContext())),
|
||||
PseudoSourceValueVal) {}
|
||||
|
||||
void PseudoSourceValue::dump() const {
|
||||
print(errs()); errs() << '\n';
|
||||
|
||||
Reference in New Issue
Block a user