mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-14 15:25:25 +00:00
Untabify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204020 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
//===---- ObjectBuffer.h - Utility class to wrap object image memory -----===//
|
//===---- ObjectBuffer.h - Utility class to wrap object image memory -----===//
|
||||||
//
|
//
|
||||||
// The LLVM Compiler Infrastructure
|
// The LLVM Compiler Infrastructure
|
||||||
//
|
//
|
||||||
// This file is distributed under the University of Illinois Open Source
|
// This file is distributed under the University of Illinois Open Source
|
||||||
// License. See LICENSE.TXT for details.
|
// License. See LICENSE.TXT for details.
|
||||||
@@ -68,13 +68,13 @@ public:
|
|||||||
|
|
||||||
// Make the data accessible via the ObjectBuffer::Buffer
|
// Make the data accessible via the ObjectBuffer::Buffer
|
||||||
Buffer.reset(MemoryBuffer::getMemBuffer(StringRef(SV.data(), SV.size()),
|
Buffer.reset(MemoryBuffer::getMemBuffer(StringRef(SV.data(), SV.size()),
|
||||||
"",
|
"",
|
||||||
false));
|
false));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
SmallVector<char, 4096> SV; // Working buffer into which we JIT.
|
SmallVector<char, 4096> SV; // Working buffer into which we JIT.
|
||||||
raw_svector_ostream OS; // streaming wrapper
|
raw_svector_ostream OS; // streaming wrapper
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace llvm
|
} // namespace llvm
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
//===---- ObjectImage.h - Format independent executuable object image -----===//
|
//===---- ObjectImage.h - Format independent executuable object image -----===//
|
||||||
//
|
//
|
||||||
// The LLVM Compiler Infrastructure
|
// The LLVM Compiler Infrastructure
|
||||||
//
|
//
|
||||||
// This file is distributed under the University of Illinois Open Source
|
// This file is distributed under the University of Illinois Open Source
|
||||||
// License. See LICENSE.TXT for details.
|
// License. See LICENSE.TXT for details.
|
||||||
@@ -45,9 +45,9 @@ public:
|
|||||||
// Subclasses can override these methods to update the image with loaded
|
// Subclasses can override these methods to update the image with loaded
|
||||||
// addresses for sections and common symbols
|
// addresses for sections and common symbols
|
||||||
virtual void updateSectionAddress(const object::SectionRef &Sec,
|
virtual void updateSectionAddress(const object::SectionRef &Sec,
|
||||||
uint64_t Addr) = 0;
|
uint64_t Addr) = 0;
|
||||||
virtual void updateSymbolAddress(const object::SymbolRef &Sym,
|
virtual void updateSymbolAddress(const object::SymbolRef &Sym,
|
||||||
uint64_t Addr) = 0;
|
uint64_t Addr) = 0;
|
||||||
|
|
||||||
virtual StringRef getData() const = 0;
|
virtual StringRef getData() const = 0;
|
||||||
|
|
||||||
@@ -61,4 +61,3 @@ public:
|
|||||||
} // end namespace llvm
|
} // end namespace llvm
|
||||||
|
|
||||||
#endif // LLVM_EXECUTIONENGINE_OBJECTIMAGE_H
|
#endif // LLVM_EXECUTIONENGINE_OBJECTIMAGE_H
|
||||||
|
|
||||||
|
@@ -232,7 +232,7 @@ void SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore,
|
|||||||
/// entered from if the condition is true, and the block that will be
|
/// entered from if the condition is true, and the block that will be
|
||||||
/// entered if the condition is false.
|
/// entered if the condition is false.
|
||||||
Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,
|
Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,
|
||||||
BasicBlock *&IfFalse);
|
BasicBlock *&IfFalse);
|
||||||
} // End llvm namespace
|
} // End llvm namespace
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user