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 | b1f31576387c263a7c699822c77c3532c64c0e0b (patch) | |
tree | 3b40402c917d6cf84de474c517baeff5ea9236d5 /llvm/lib/Target/PowerPC/PPCSubtarget.h | |
parent | 3db7d3764e9ea4e05027ff204cc3ad61eaffe777 (diff) | |
download | bcm5719-llvm-b1f31576387c263a7c699822c77c3532c64c0e0b.tar.gz bcm5719-llvm-b1f31576387c263a7c699822c77c3532c64c0e0b.zip |
getInstrItineraryData shouldn't copy the itineraries
llvm-svn: 32448
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCSubtarget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h index 185102413ca..1cce24d2f66 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.h +++ b/llvm/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. |