projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a sub-register indice propagation bug.
[oota-llvm.git]
/
lib
/
CodeGen
/
ELFWriter.cpp
diff --git
a/lib/CodeGen/ELFWriter.cpp
b/lib/CodeGen/ELFWriter.cpp
index 82bf9924d843e827a4a822b71b1dabbe09adc0ee..baba0551dd44838e939f940b8b303f75b4678474 100644
(file)
--- a/
lib/CodeGen/ELFWriter.cpp
+++ b/
lib/CodeGen/ELFWriter.cpp
@@
-50,11
+50,11
@@
using namespace llvm;
char ELFWriter::ID = 0;
/// AddELFWriter - Concrete function to add the ELF writer to the function pass
/// manager.
char ELFWriter::ID = 0;
/// AddELFWriter - Concrete function to add the ELF writer to the function pass
/// manager.
-MachineCodeEmitter *llvm::AddELFWriter(
FunctionPassManager &F
PM,
+MachineCodeEmitter *llvm::AddELFWriter(
PassManagerBase &
PM,
std::ostream &O,
TargetMachine &TM) {
ELFWriter *EW = new ELFWriter(O, TM);
std::ostream &O,
TargetMachine &TM) {
ELFWriter *EW = new ELFWriter(O, TM);
-
F
PM.add(EW);
+ PM.add(EW);
return &EW->getMachineCodeEmitter();
}
return &EW->getMachineCodeEmitter();
}
@@
-114,11
+114,12
@@
namespace llvm {
/// JIT SPECIFIC FUNCTIONS - DO NOT IMPLEMENT THESE HERE!
/// JIT SPECIFIC FUNCTIONS - DO NOT IMPLEMENT THESE HERE!
- void startFunctionStub(unsigned StubSize, unsigned Alignment = 1) {
+ void startFunctionStub(const GlobalValue* F, unsigned StubSize,
+ unsigned Alignment = 1) {
assert(0 && "JIT specific function called!");
abort();
}
assert(0 && "JIT specific function called!");
abort();
}
- void *finishFunctionStub(const
Function
*F) {
+ void *finishFunctionStub(const
GlobalValue
*F) {
assert(0 && "JIT specific function called!");
abort();
return 0;
assert(0 && "JIT specific function called!");
abort();
return 0;