projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
give MCCodeEmitters access to the current MCContext.
[oota-llvm.git]
/
lib
/
CodeGen
/
GCStrategy.cpp
diff --git
a/lib/CodeGen/GCStrategy.cpp
b/lib/CodeGen/GCStrategy.cpp
index aa5c0a183b1ca4beb28dfc33b9267e5995da2b86..b5006fdbb4eea80ffd0311c71b02aefbe02277f7 100644
(file)
--- a/
lib/CodeGen/GCStrategy.cpp
+++ b/
lib/CodeGen/GCStrategy.cpp
@@
-27,7
+27,7
@@
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
-#include "llvm/Support/
Compiler
.h"
+#include "llvm/Support/
Debug
.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
@@
-110,7
+110,7
@@
GCStrategy::~GCStrategy() {
bool GCStrategy::initializeCustomLowering(Module &M) { return false; }
bool GCStrategy::performCustomLowering(Function &F) {
bool GCStrategy::initializeCustomLowering(Module &M) { return false; }
bool GCStrategy::performCustomLowering(Function &F) {
-
err
s() << "gc " << getName() << " must override performCustomLowering.\n";
+
dbg
s() << "gc " << getName() << " must override performCustomLowering.\n";
llvm_unreachable(0);
return 0;
}
llvm_unreachable(0);
return 0;
}
@@
-335,7
+335,7
@@
unsigned MachineCodeAnalysis::InsertLabel(MachineBasicBlock &MBB,
unsigned Label = MMI->NextLabelID();
BuildMI(MBB, MI, DL,
unsigned Label = MMI->NextLabelID();
BuildMI(MBB, MI, DL,
- TII->get(Target
InstrInfo
::GC_LABEL)).addImm(Label);
+ TII->get(Target
Opcode
::GC_LABEL)).addImm(Label);
return Label;
}
return Label;
}