summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-12-11 21:42:55 +0000
committerChris Lattner <sabre@nondot.org>2006-12-11 21:42:55 +0000
commitb1f31576387c263a7c699822c77c3532c64c0e0b (patch)
tree3b40402c917d6cf84de474c517baeff5ea9236d5 /llvm/lib/Target/PowerPC/PPCSubtarget.h
parent3db7d3764e9ea4e05027ff204cc3ad61eaffe777 (diff)
downloadbcm5719-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.h2
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.
OpenPOWER on IntegriCloud