projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clean up redundant copies of Triple objects. NFC
[oota-llvm.git]
/
lib
/
Target
/
PowerPC
/
PPCTargetMachine.h
diff --git
a/lib/Target/PowerPC/PPCTargetMachine.h
b/lib/Target/PowerPC/PPCTargetMachine.h
index b844d9650d7d3d6af76465df25f621830314345e..5c0f7e629a69c5912c9700148b9d33e6f46cf8eb 100644
(file)
--- a/
lib/Target/PowerPC/PPCTargetMachine.h
+++ b/
lib/Target/PowerPC/PPCTargetMachine.h
@@
-50,7
+50,7
@@
public:
}
bool isELFv2ABI() const { return TargetABI == PPC_ABI_ELFv2; }
bool isPPC64() const {
-
Triple TT(getTargetTriple()
);
+
const Triple &TT = getTargetTriple(
);
return (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le);
};
};