mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Adjust to changed interfaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18064 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user