mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
Fixes for PR341
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14847 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -20,15 +20,12 @@
|
||||
#include "llvm/Value.h"
|
||||
#include <iostream>
|
||||
|
||||
namespace {
|
||||
class SlotMachine; // Internal private class
|
||||
}
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Module;
|
||||
class PointerType;
|
||||
class AssemblyWriter; // Internal private class
|
||||
class SlotMachine;
|
||||
|
||||
class CachedWriter {
|
||||
AssemblyWriter *AW;
|
||||
@@ -53,14 +50,9 @@ public:
|
||||
// setModule - Invalidate internal state, use the new module instead.
|
||||
void setModule(const Module *M);
|
||||
|
||||
CachedWriter &operator<<(const Value *V);
|
||||
CachedWriter &operator<<(const Value &V);
|
||||
|
||||
inline CachedWriter &operator<<(const Value &X) {
|
||||
return *this << &X;
|
||||
}
|
||||
|
||||
CachedWriter &operator<<(const Type *X);
|
||||
inline CachedWriter &operator<<(const PointerType *X);
|
||||
CachedWriter &operator<<(const Type &X);
|
||||
|
||||
inline CachedWriter &operator<<(std::ostream &(&Manip)(std::ostream &)) {
|
||||
Out << Manip; return *this;
|
||||
|
||||
Reference in New Issue
Block a user