forked from OSchip/llvm-project
parent
a8cb3dffe9
commit
a0020be758
|
@ -80,16 +80,13 @@ void MCExpr::dump() const {
|
||||||
|
|
||||||
/* *** */
|
/* *** */
|
||||||
|
|
||||||
const MCBinaryExpr * MCBinaryExpr::Create(Opcode Opc,
|
const MCBinaryExpr *MCBinaryExpr::Create(Opcode Opc, const MCExpr *LHS,
|
||||||
const MCExpr *LHS,
|
const MCExpr *RHS, MCContext &Ctx) {
|
||||||
const MCExpr *RHS,
|
|
||||||
MCContext &Ctx) {
|
|
||||||
return new (Ctx) MCBinaryExpr(Opc, LHS, RHS);
|
return new (Ctx) MCBinaryExpr(Opc, LHS, RHS);
|
||||||
}
|
}
|
||||||
|
|
||||||
const MCUnaryExpr * MCUnaryExpr::Create(Opcode Opc,
|
const MCUnaryExpr *MCUnaryExpr::Create(Opcode Opc, const MCExpr *Expr,
|
||||||
const MCExpr *Expr,
|
MCContext &Ctx) {
|
||||||
MCContext &Ctx) {
|
|
||||||
return new (Ctx) MCUnaryExpr(Opc, Expr);
|
return new (Ctx) MCUnaryExpr(Opc, Expr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue