Untabify.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204020 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi
2014-03-16 23:58:43 +00:00
parent 8142bc1a26
commit 7f0871c97f
3 changed files with 8 additions and 9 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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