summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcInstrInfo.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-06-07 20:35:25 +0000
committerBill Wendling <isanbard@gmail.com>2013-06-07 20:35:25 +0000
commit6235c06ff87f20d8d221b84b4ab816fe54a38624 (patch)
treed8a387c7cf9e86aee718405515f6f27449c03c4a /llvm/lib/Target/Sparc/SparcInstrInfo.cpp
parent3bd4716218bf5813121c0dbc6b4fb2b1aac56840 (diff)
downloadbcm5719-llvm-6235c06ff87f20d8d221b84b4ab816fe54a38624.tar.gz
bcm5719-llvm-6235c06ff87f20d8d221b84b4ab816fe54a38624.zip
Don't cache the instruction and register info from the TargetMachine, because
the internals of TargetMachine could change. No functionality change intended. llvm-svn: 183565
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcInstrInfo.cpp')
-rw-r--r--llvm/lib/Target/Sparc/SparcInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstrInfo.cpp b/llvm/lib/Target/Sparc/SparcInstrInfo.cpp
index 46033b66536..2ccbdf85bde 100644
--- a/llvm/lib/Target/Sparc/SparcInstrInfo.cpp
+++ b/llvm/lib/Target/Sparc/SparcInstrInfo.cpp
@@ -29,7 +29,7 @@ using namespace llvm;
SparcInstrInfo::SparcInstrInfo(SparcSubtarget &ST)
: SparcGenInstrInfo(SP::ADJCALLSTACKDOWN, SP::ADJCALLSTACKUP),
- RI(ST, *this), Subtarget(ST) {
+ RI(ST), Subtarget(ST) {
}
/// isLoadFromStackSlot - If the specified machine instruction is a direct
OpenPOWER on IntegriCloud