don't copy all itinerary data

llvm-svn: 26633
This commit is contained in:
Chris Lattner 2006-03-09 07:13:00 +00:00
parent 399bee27f0
commit da6aafeef4
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ void ScheduleDAGSimple::IncludeNode(NodeInfo *NI) {
///
void ScheduleDAGSimple::GatherSchedulingInfo() {
// Get instruction itineraries for the target
const InstrItineraryData InstrItins = TM.getInstrItineraryData();
const InstrItineraryData &InstrItins = TM.getInstrItineraryData();
// For each node
for (unsigned i = 0, N = NodeCount; i < N; i++) {