aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Writer/WriterInternals.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bytecode/Writer/WriterInternals.h')
-rw-r--r--lib/Bytecode/Writer/WriterInternals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Bytecode/Writer/WriterInternals.h b/lib/Bytecode/Writer/WriterInternals.h
index 5564f4238e..8cb4bfd8d6 100644
--- a/lib/Bytecode/Writer/WriterInternals.h
+++ b/lib/Bytecode/Writer/WriterInternals.h
@@ -25,6 +25,8 @@
#include "llvm/SlotCalculator.h"
#include "llvm/Instruction.h"
+namespace llvm {
+
class BytecodeWriter {
std::deque<unsigned char> &Out;
SlotCalculator Table;
@@ -79,5 +81,6 @@ public:
}
};
+} // End llvm namespace
#endif