diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-20 23:53:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-20 23:53:26 +0000 |
commit | 5f3d274f5ffb6041c852ca3e293b2a99a57bdf56 (patch) | |
tree | deb41c4ded59da4f09b664303a5eaf079bcbbab4 /llvm/lib/CodeGen/MachineCodeEmitter.cpp | |
parent | 292bb600530703ecf789ece17a4bae949d36e977 (diff) | |
download | bcm5719-llvm-5f3d274f5ffb6041c852ca3e293b2a99a57bdf56.tar.gz bcm5719-llvm-5f3d274f5ffb6041c852ca3e293b2a99a57bdf56.zip |
Adjust to changed interfaces
llvm-svn: 18064
Diffstat (limited to 'llvm/lib/CodeGen/MachineCodeEmitter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineCodeEmitter.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/MachineCodeEmitter.cpp b/llvm/lib/CodeGen/MachineCodeEmitter.cpp index fde69697642..c64366cded0 100644 --- a/llvm/lib/CodeGen/MachineCodeEmitter.cpp +++ b/llvm/lib/CodeGen/MachineCodeEmitter.cpp @@ -28,11 +28,11 @@ namespace { void finishFunction(MachineFunction &F) { std::cout << "\n"; } - void startFunctionStub(const Function &F, unsigned StubSize) { - std::cout << "\n--- Function stub for function: " << F.getName() << "\n"; + void startFunctionStub(unsigned StubSize) { + std::cout << "\n--- Function stub:\n"; } - void *finishFunctionStub(const Function &F) { - std::cout << "\n"; + void *finishFunctionStub(const Function *F) { + std::cout << "\n--- End of stub for Function\n"; return 0; } @@ -105,11 +105,11 @@ namespace { MCE.emitConstantPool(MCP); } - void startFunctionStub(const Function &F, unsigned StubSize) { - MCE.startFunctionStub(F, StubSize); + void startFunctionStub(unsigned StubSize) { + MCE.startFunctionStub(StubSize); } - void *finishFunctionStub(const Function &F) { + void *finishFunctionStub(const Function *F) { return MCE.finishFunctionStub(F); } |