mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
MEGAPATCH checkin.
For details, See: docs/2002-06-25-MegaPatchInfo.txt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2778 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -61,13 +61,13 @@ namespace {
|
||||
|
||||
const char *getPassName() const { return "Emit Bytecode to Sparc Assembly";}
|
||||
|
||||
virtual bool run(Module *M) {
|
||||
virtual bool run(Module &M) {
|
||||
// Write bytecode out to the sparc assembly stream
|
||||
Out << "\n\n!LLVM BYTECODE OUTPUT\n\t.section \".rodata\"\n\t.align 8\n";
|
||||
Out << "\t.global LLVMBytecode\n\t.type LLVMBytecode,#object\n";
|
||||
Out << "LLVMBytecode:\n";
|
||||
osparcasmstream OS(Out);
|
||||
WriteBytecodeToFile(M, OS);
|
||||
WriteBytecodeToFile(&M, OS);
|
||||
|
||||
Out << ".end_LLVMBytecode:\n";
|
||||
Out << "\t.size LLVMBytecode, .end_LLVMBytecode-LLVMBytecode\n\n";
|
||||
|
Reference in New Issue
Block a user