projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b67bb1
)
second half of commit.
author
Chris Lattner
<sabre@nondot.org>
Tue, 11 Aug 2009 22:52:15 +0000
(22:52 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 11 Aug 2009 22:52:15 +0000
(22:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78744
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCTargetMachine.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCTargetMachine.cpp
b/lib/Target/PowerPC/PPCTargetMachine.cpp
index d08c81957b37ca862483940a93e58fa440a640cb..07667117a045a02779719c6e2b2274d11fdd51c2 100644
(file)
--- a/
lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/
lib/Target/PowerPC/PPCTargetMachine.cpp
@@
-28,8
+28,8
@@
extern "C" void LLVMInitializePowerPCTarget() {
const TargetAsmInfo *PPCTargetMachine::createTargetAsmInfo() const {
if (Subtarget.isDarwin())
- return new PPCDarwinTargetAsmInfo(
*this
);
- return new PPCLinuxTargetAsmInfo(
*this
);
+ return new PPCDarwinTargetAsmInfo(
Subtarget.isPPC64()
);
+ return new PPCLinuxTargetAsmInfo(
Subtarget.isPPC64()
);
}
PPCTargetMachine::PPCTargetMachine(const Target &T, const std::string &TT,