summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-06-25 16:13:21 +0000
committerChris Lattner <sabre@nondot.org>2002-06-25 16:13:21 +0000
commit7076ff29ed02c3472e82575594386739a4bb3e34 (patch)
tree2e5e31bf8db609442dc4894bdaa7e9eb31189c00 /llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp
parentfda72b1aad8c70686418b2a7dfa8adbc20435b0e (diff)
downloadbcm5719-llvm-7076ff29ed02c3472e82575594386739a4bb3e34.tar.gz
bcm5719-llvm-7076ff29ed02c3472e82575594386739a4bb3e34.zip
MEGAPATCH checkin.
For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778
Diffstat (limited to 'llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp')
-rw-r--r--llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp b/llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp
index fdf8f3ec361..141361d1e3c 100644
--- a/llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp
+++ b/llvm/lib/Target/Sparc/EmitBytecodeToAssembly.cpp
@@ -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";
OpenPOWER on IntegriCloud