[llvm-commits] CVS: llvm/lib/Target/Sparc/Sparc.cpp SparcInstrInfo.cpp SparcInternals.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 29 09:46:03 PST 2002
Changes in directory llvm/lib/Target/Sparc:
Sparc.cpp updated: 1.50 -> 1.51
SparcInstrInfo.cpp updated: 1.31 -> 1.32
SparcInternals.h updated: 1.70 -> 1.71
---
Log message:
MachineInstrInfo doesn't need a TargetMachine
---
Diffs of the changes:
Index: llvm/lib/Target/Sparc/Sparc.cpp
diff -u llvm/lib/Target/Sparc/Sparc.cpp:1.50 llvm/lib/Target/Sparc/Sparc.cpp:1.51
--- llvm/lib/Target/Sparc/Sparc.cpp:1.50 Sun Oct 27 19:12:41 2002
+++ llvm/lib/Target/Sparc/Sparc.cpp Tue Oct 29 09:45:20 2002
@@ -126,7 +126,6 @@
UltraSparc::UltraSparc()
: TargetMachine("UltraSparc-Native"),
- instrInfo(*this),
schedInfo(*this),
regInfo(*this),
frameInfo(*this),
Index: llvm/lib/Target/Sparc/SparcInstrInfo.cpp
diff -u llvm/lib/Target/Sparc/SparcInstrInfo.cpp:1.31 llvm/lib/Target/Sparc/SparcInstrInfo.cpp:1.32
--- llvm/lib/Target/Sparc/SparcInstrInfo.cpp:1.31 Sun Oct 27 18:28:31 2002
+++ llvm/lib/Target/Sparc/SparcInstrInfo.cpp Tue Oct 29 09:45:20 2002
@@ -324,8 +324,8 @@
//---------------------------------------------------------------------------
/*ctor*/
-UltraSparcInstrInfo::UltraSparcInstrInfo(const TargetMachine& tgt)
- : MachineInstrInfo(tgt, SparcMachineInstrDesc,
+UltraSparcInstrInfo::UltraSparcInstrInfo()
+ : MachineInstrInfo(SparcMachineInstrDesc,
/*descSize = */ NUM_TOTAL_OPCODES,
/*numRealOpCodes = */ NUM_REAL_OPCODES)
{
Index: llvm/lib/Target/Sparc/SparcInternals.h
diff -u llvm/lib/Target/Sparc/SparcInternals.h:1.70 llvm/lib/Target/Sparc/SparcInternals.h:1.71
--- llvm/lib/Target/Sparc/SparcInternals.h:1.70 Mon Oct 28 15:17:20 2002
+++ llvm/lib/Target/Sparc/SparcInternals.h Tue Oct 29 09:45:20 2002
@@ -76,7 +76,7 @@
//---------------------------------------------------------------------------
struct UltraSparcInstrInfo : public MachineInstrInfo {
- UltraSparcInstrInfo(const TargetMachine& tgt);
+ UltraSparcInstrInfo();
//
// All immediate constants are in position 1 except the
More information about the llvm-commits
mailing list