mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-16 12:24:03 +00:00
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10737 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -35,8 +35,7 @@
|
||||
#include "Support/Statistic.h"
|
||||
#include "Config/string.h"
|
||||
#include <algorithm>
|
||||
|
||||
namespace llvm {
|
||||
using namespace llvm;
|
||||
|
||||
static RegisterPass<WriteBytecodePass> X("emitbytecode", "Bytecode Writer");
|
||||
|
||||
@ -267,7 +266,7 @@ void BytecodeWriter::outputSymbolTable(const SymbolTable &MST) {
|
||||
}
|
||||
}
|
||||
|
||||
void WriteBytecodeToFile(const Module *C, std::ostream &Out) {
|
||||
void llvm::WriteBytecodeToFile(const Module *C, std::ostream &Out) {
|
||||
assert(C && "You can't write a null module!!");
|
||||
|
||||
std::deque<unsigned char> Buffer;
|
||||
@ -302,5 +301,3 @@ void WriteBytecodeToFile(const Module *C, std::ostream &Out) {
|
||||
|
||||
Out.flush();
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
Reference in New Issue
Block a user