summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsISelLowering.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-07-18 22:55:25 +0000
committerEric Christopher <echristo@gmail.com>2014-07-18 22:55:25 +0000
commit1c29a657c76beed5d970e531f67ab610d13366a1 (patch)
treea06379b003ca58679cc803c18e00ad3a4d1c1537 /llvm/lib/Target/Mips/MipsISelLowering.h
parent2f12195b1d1a869c3119049f23ea5d9b5b3b48d4 (diff)
downloadbcm5719-llvm-1c29a657c76beed5d970e531f67ab610d13366a1.tar.gz
bcm5719-llvm-1c29a657c76beed5d970e531f67ab610d13366a1.zip
The subtarget in MipsTargetLowering isn't going to change and
so doesn't need to be a pointer, but a reference. llvm-svn: 213422
Diffstat (limited to 'llvm/lib/Target/Mips/MipsISelLowering.h')
-rw-r--r--llvm/lib/Target/Mips/MipsISelLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.h b/llvm/lib/Target/Mips/MipsISelLowering.h
index 4701bc41273..1a23e0d109c 100644
--- a/llvm/lib/Target/Mips/MipsISelLowering.h
+++ b/llvm/lib/Target/Mips/MipsISelLowering.h
@@ -436,7 +436,7 @@ namespace llvm {
SDValue lowerSTORE(SDValue Op, SelectionDAG &DAG) const;
// Subtarget Info
- const MipsSubtarget *Subtarget;
+ const MipsSubtarget &Subtarget;
private:
// Create a TargetGlobalAddress node.
OpenPOWER on IntegriCloud