diff options
author | Jim Grosbach <grosbach@apple.com> | 2012-05-15 17:35:52 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2012-05-15 17:35:52 +0000 |
commit | 918f55fe239f00651e396be841f2b3b6e242f98d (patch) | |
tree | 1012e606c735e8692345cb345993360785e34a36 /lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp | |
parent | 0031af66158d4b761d140126005f796fb42759a7 (diff) | |
download | external_llvm-918f55fe239f00651e396be841f2b3b6e242f98d.zip external_llvm-918f55fe239f00651e396be841f2b3b6e242f98d.tar.gz external_llvm-918f55fe239f00651e396be841f2b3b6e242f98d.tar.bz2 |
Allow MCCodeEmitter access to the target MCRegisterInfo.
Add the MCRegisterInfo to the factories and constructors.
Patch by Tom Stellard <Tom.Stellard@amd.com>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp')
-rw-r--r-- | lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp b/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp index 80990e5..3b2f191 100644 --- a/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp +++ b/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp @@ -139,6 +139,7 @@ public: MCCodeEmitter *llvm::createX86MCCodeEmitter(const MCInstrInfo &MCII, + const MCRegisterInfo &MRI, const MCSubtargetInfo &STI, MCContext &Ctx) { return new X86MCCodeEmitter(MCII, STI, Ctx); |