aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Writer/WriterInternals.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-25 23:08:15 +0000
committerChris Lattner <sabre@nondot.org>2006-01-25 23:08:15 +0000
commit3bc5a60b80dc27868a5c6f14358a068a110e6ded (patch)
treef6a1ecf0acf41d0052cb376cca6fbe2b609422ea /lib/Bytecode/Writer/WriterInternals.h
parent5f8f0e219dce9f3defd62a2f8f4c4c7f3e88e8c0 (diff)
add bc reader/writer support for inline asm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/WriterInternals.h')
-rw-r--r--lib/Bytecode/Writer/WriterInternals.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Bytecode/Writer/WriterInternals.h b/lib/Bytecode/Writer/WriterInternals.h
index 15dd92db1e..f8c276e858 100644
--- a/lib/Bytecode/Writer/WriterInternals.h
+++ b/lib/Bytecode/Writer/WriterInternals.h
@@ -24,6 +24,7 @@
#include <vector>
namespace llvm {
+ class InlineAsm;
class BytecodeWriter {
std::vector<unsigned char> &Out;
@@ -68,6 +69,7 @@ private:
void outputConstantsInPlane(const std::vector<const Value*> &Plane,
unsigned StartNo);
void outputConstant(const Constant *CPV);
+ void outputInlineAsm(const InlineAsm *IA);
void outputType(const Type *T);
/// @brief Unsigned integer output primitive
@@ -88,7 +90,7 @@ private:
/// @brief Signed 32-bit variable bit rate output primitive.
inline void output_vbr(int i);
- inline void output(const std::string &s );
+ inline void output(const std::string &s);
inline void output_data(const void *Ptr, const void *End);