mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Allow const functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6056 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -22,11 +22,12 @@ namespace {
|
||||
std::cout << "\n--- Basic Block: " << BB.getBasicBlock()->getName()<<"\n";
|
||||
}
|
||||
|
||||
void startFunctionStub(Function &F, unsigned StubSize) {
|
||||
void startFunctionStub(const Function &F, unsigned StubSize) {
|
||||
std::cout << "\n--- Function stub for function: " << F.getName() << "\n";
|
||||
}
|
||||
void finishFunctionStub(Function &F) {
|
||||
void *finishFunctionStub(const Function &F) {
|
||||
std::cout << "\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
void emitByte(unsigned char B) {
|
||||
|
||||
Reference in New Issue
Block a user