Do not support output of Modules directly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2349
91177308-0d34-0410-b5e6-
96231b3b80d8
#include "llvm/Value.h"
#include <iostream>
-class GlobalVariable;
-class Function;
-class Argument;
-class BasicBlock;
-class Instruction;
-class Constant;
+class Module;
class PointerType;
class SlotCalculator;
-
-
class AssemblyWriter; // Internal private class
class CachedWriter {
inline CachedWriter &operator<<(Value *X) {
return *this << (const Value*)X;
}
- inline CachedWriter &operator<<(const Module *X) {
- return *this << (const Value*)X;
- }
inline CachedWriter &operator<<(const GlobalVariable *X) {
return *this << (const Value*)X;
}