diff options
author | Chris Lattner <sabre@nondot.org> | 2006-12-11 21:42:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-12-11 21:42:55 +0000 |
commit | 442b9a69811b68bc169b3eb9305fca7adfb325eb (patch) | |
tree | 92a019297b925923ac24c8273b600ad1031288c2 /lib/Target/PowerPC/PPCSubtarget.h | |
parent | 8c4fed50e3f4318baadf88bbbaa9313a6616493b (diff) |
getInstrItineraryData shouldn't copy the itineraries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32448 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r-- | lib/Target/PowerPC/PPCSubtarget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h index 185102413c..1cce24d2f6 100644 --- a/lib/Target/PowerPC/PPCSubtarget.h +++ b/lib/Target/PowerPC/PPCSubtarget.h @@ -57,7 +57,7 @@ public: /// getInstrItins - Return the instruction itineraies based on subtarget /// selection. - const InstrItineraryData getInstrItineraryData() const { return InstrItins; } + const InstrItineraryData &getInstrItineraryData() const { return InstrItins; } /// getTargetDataString - Return the pointer size and type alignment /// properties of this subtarget. |