aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-10-01 21:36:28 +0000
committerEric Christopher <echristo@gmail.com>2014-10-01 21:36:28 +0000
commitf6ed33e7fa2f001f3f27060b96952dd9bc0dd2c5 (patch)
treef9d264bbc31140acf8613b650242cf798435c814 /llvm/lib/Target/PowerPC/PPCSubtarget.cpp
parentb8a4ecb5d96ed1a03954995f5fd3772e8aff0bac (diff)
downloadllvm-f6ed33e7fa2f001f3f27060b96952dd9bc0dd2c5.zip
llvm-f6ed33e7fa2f001f3f27060b96952dd9bc0dd2c5.tar.gz
llvm-f6ed33e7fa2f001f3f27060b96952dd9bc0dd2c5.tar.bz2
constify the TargetMachine argument used in the subtarget and
lowering constructors. llvm-svn: 218832
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
index d59d62a..da4a570 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.cpp
@@ -74,7 +74,7 @@ PPCSubtarget &PPCSubtarget::initializeSubtargetDependencies(StringRef CPU,
}
PPCSubtarget::PPCSubtarget(const std::string &TT, const std::string &CPU,
- const std::string &FS, PPCTargetMachine &TM)
+ const std::string &FS, const PPCTargetMachine &TM)
: PPCGenSubtargetInfo(TT, CPU, FS), TargetTriple(TT),
DL(getDataLayoutString(TargetTriple)),
IsPPC64(TargetTriple.getArch() == Triple::ppc64 ||