mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 22:43:29 +00:00
Changes to make print pass work!
llvm-svn: 2306
This commit is contained in:
parent
60f426703d
commit
006a45af20
@ -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…
Reference in New Issue
Block a user