diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-08-13 18:17:27 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-08-13 18:17:27 +0000 |
commit | 8844a0ba898a3a1db7f5fd91ecf6a5402e3d51a0 (patch) | |
tree | b20b5257fa277640b491df8cbbfb64968a3b2463 /lib/Target/X86/X86CodeEmitter.cpp | |
parent | c227c1fc7fe9dcfbb1ee0245d5b9b190e2835631 (diff) |
addPassesToJITCompile and addPassesToEmitMachineCode now take a
FunctionPassManager, to support function-at-a-time compilation and
emission of code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7821 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86CodeEmitter.cpp')
-rw-r--r-- | lib/Target/X86/X86CodeEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86CodeEmitter.cpp b/lib/Target/X86/X86CodeEmitter.cpp index 50b1faac8b..5f19edb4ab 100644 --- a/lib/Target/X86/X86CodeEmitter.cpp +++ b/lib/Target/X86/X86CodeEmitter.cpp @@ -181,7 +181,7 @@ namespace { /// of functions. This method should returns true if machine code emission is /// not supported. /// -bool X86TargetMachine::addPassesToEmitMachineCode(PassManager &PM, +bool X86TargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM, MachineCodeEmitter &MCE) { PM.add(new Emitter(MCE)); return false; |