mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
Changes to make print pass work!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2306 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d231fc3254
commit
fe6d2ced0e
@ -11,6 +11,7 @@
|
||||
#define LLVM_ASSEMBLY_PRINTMODULEPASS_H
|
||||
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Value.h"
|
||||
#include <iostream>
|
||||
|
||||
class PrintModulePass : public Pass {
|
||||
@ -49,7 +50,7 @@ public:
|
||||
// it's processed.
|
||||
//
|
||||
bool runOnMethod(Function *F) {
|
||||
(*Out) << Banner << F;
|
||||
(*Out) << Banner << (Value*)F;
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user