From e70f671b97a59cb0851131b398384f7ba88bf7c7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 9 Mar 2006 07:13:00 +0000 Subject: [PATCH] don't copy all itinerary data git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26633 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- 2.34.1