don't copy all itinerary data

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26633 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-03-09 07:13:00 +00:00
parent 0324ba8f02
commit e70f671b97

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++) {