[llvm] r238792 - [bpf] fix build
Alexei Starovoitov
alexei.starovoitov at gmail.com
Mon Jun 1 15:24:37 PDT 2015
Author: ast
Date: Mon Jun 1 17:24:36 2015
New Revision: 238792
URL: http://llvm.org/viewvc/llvm-project?rev=238792&view=rev
Log:
[bpf] fix build
fix breakage due to r238634
Patch by Vijay Subramanian.
Modified:
llvm/trunk/lib/Target/BPF/BPFMCInstLower.cpp
Modified: llvm/trunk/lib/Target/BPF/BPFMCInstLower.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/BPF/BPFMCInstLower.cpp?rev=238792&r1=238791&r2=238792&view=diff
==============================================================================
--- llvm/trunk/lib/Target/BPF/BPFMCInstLower.cpp (original)
+++ llvm/trunk/lib/Target/BPF/BPFMCInstLower.cpp Mon Jun 1 17:24:36 2015
@@ -33,7 +33,7 @@ BPFMCInstLower::GetGlobalAddressSymbol(c
MCOperand BPFMCInstLower::LowerSymbolOperand(const MachineOperand &MO,
MCSymbol *Sym) const {
- const MCExpr *Expr = MCSymbolRefExpr::Create(Sym, Ctx);
+ const MCExpr *Expr = MCSymbolRefExpr::create(Sym, Ctx);
if (!MO.isJTI() && MO.getOffset())
llvm_unreachable("unknown symbol op");
@@ -63,7 +63,7 @@ void BPFMCInstLower::Lower(const Machine
break;
case MachineOperand::MO_MachineBasicBlock:
MCOp = MCOperand::createExpr(
- MCSymbolRefExpr::Create(MO.getMBB()->getSymbol(), Ctx));
+ MCSymbolRefExpr::create(MO.getMBB()->getSymbol(), Ctx));
break;
case MachineOperand::MO_RegisterMask:
continue;
More information about the llvm-commits
mailing list