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:
e119691
)
We actually do support object file writing, so don't return true (error)
author
Nate Begeman
<natebegeman@mac.com>
Fri, 8 Sep 2006 03:42:15 +0000
(
03:42
+0000)
committer
Nate Begeman
<natebegeman@mac.com>
Fri, 8 Sep 2006 03:42:15 +0000
(
03:42
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30173
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 ac20022d50e3148f80ecbba49a67258d82314f7b..9075abc7db0d2ec4f9d17eaa62429197c57ba6c5 100644
(file)
--- a/
lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/
lib/Target/PowerPC/PPCTargetMachine.cpp
@@
-130,7
+130,7
@@
bool PPCTargetMachine::addObjectWriter(FunctionPassManager &PM, bool Fast,
std::ostream &Out) {
// FIXME: support PPC ELF files at some point
addPPCMachOObjectWriterPass(PM, Out, *this);
- return
tru
e;
+ return
fals
e;
}
bool PPCTargetMachine::addCodeEmitter(FunctionPassManager &PM, bool Fast,
@@
-138,8
+138,6
@@
bool PPCTargetMachine::addCodeEmitter(FunctionPassManager &PM, bool Fast,
// The JIT should use the static relocation model.
// FIXME: This should be moved to TargetJITInfo!!
setRelocationModel(Reloc::Static);
-
-
// Machine code emitter pass for PowerPC.
PM.add(createPPCCodeEmitterPass(*this, MCE));