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 | |
| parent | 8c4fed50e3f4318baadf88bbbaa9313a6616493b (diff) | |
| download | external_llvm-442b9a69811b68bc169b3eb9305fca7adfb325eb.zip external_llvm-442b9a69811b68bc169b3eb9305fca7adfb325eb.tar.gz external_llvm-442b9a69811b68bc169b3eb9305fca7adfb325eb.tar.bz2 | |
getInstrItineraryData shouldn't copy the itineraries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32448 91177308-0d34-0410-b5e6-96231b3b80d8
| -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 1851024..1cce24d 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. |
