From: Chris Lattner Date: Thu, 9 Mar 2006 07:13:00 +0000 (+0000) Subject: don't copy all itinerary data X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e70f671b97a59cb0851131b398384f7ba88bf7c7;p=oota-llvm.git don't copy all itinerary data git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26633 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp index e088f71b88e..55b68f88301 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp @@ -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++) {