[bpf] fix build

fix BPF backend build broken by r232699

llvm-svn: 232795
This commit is contained in:
Alexei Starovoitov 2015-03-20 02:35:29 +00:00
parent be8af48824
commit f049a68d78
1 changed files with 1 additions and 2 deletions

View File

@ -64,7 +64,6 @@ static MCCodeGenInfo *createBPFMCCodeGenInfo(StringRef TT, Reloc::Model RM,
static MCStreamer *createBPFMCStreamer(const Triple &T,
MCContext &Ctx, MCAsmBackend &MAB,
raw_ostream &OS, MCCodeEmitter *Emitter,
const MCSubtargetInfo &STI,
bool RelaxAll) {
return createELFStreamer(Ctx, MAB, OS, Emitter, RelaxAll);
}
@ -103,7 +102,7 @@ extern "C" void LLVMInitializeBPFTargetMC() {
TargetRegistry::RegisterMCAsmBackend(TheBPFTarget, createBPFAsmBackend);
// Register the object streamer
TargetRegistry::RegisterMCObjectStreamer(TheBPFTarget, createBPFMCStreamer);
TargetRegistry::RegisterELFStreamer(TheBPFTarget, createBPFMCStreamer);
// Register the MCInstPrinter.
TargetRegistry::RegisterMCInstPrinter(TheBPFTarget, createBPFMCInstPrinter);