MCExpr pointer is owned by the MCOperand object

This commit is contained in:
anthony cantor 2013-08-27 14:59:30 -06:00 committed by Siu Kwan Lam
commit b3bf7f86cd

View file

@ -57,7 +57,7 @@ class MCOperand:
getReg = Method(cast(Unsigned, int))
getImm = Method(cast(Int64, int))
getFPImm = Method(cast(Double, float))
getExpr = Method(const(ptr(MCExpr)))
getExpr = Method(const(ownedptr(MCExpr)))
@MCInst
class MCInst: