mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
Refactor Assembly/Bytecode writer code into Assembly & bytecode libraries
llvm-svn: 904
This commit is contained in:
parent
bd93ec9e5f
commit
80630ae4ed
@ -10,7 +10,8 @@
|
||||
#include "llvm/Transforms/Instrumentation/TraceValues.h"
|
||||
#include "llvm/Transforms/LowerAllocations.h"
|
||||
#include "llvm/Transforms/HoistPHIConstants.h"
|
||||
#include "llvm/Transforms/PrintModulePass.h"
|
||||
#include "llvm/Assembly/PrintModulePass.h"
|
||||
#include "llvm/Bytecode/WriteBytecodePass.h"
|
||||
#include "llvm/Transforms/ConstantMerge.h"
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
#include "llvm/Module.h"
|
||||
@ -144,7 +145,7 @@ int main(int argc, char **argv) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Passes.push_back(new WriteModuleBytecode(os, true));
|
||||
Passes.push_back(new WriteBytecodePass(os, true));
|
||||
}
|
||||
|
||||
// Replace malloc and free instructions with library calls.
|
||||
|
Loading…
Reference in New Issue
Block a user