/// NOTE: All subclasses are required to have trivial destructors because
/// MCExprs are bump pointer allocated and not destructed.
class MCTargetExpr : public MCExpr {
/// NOTE: All subclasses are required to have trivial destructors because
/// MCExprs are bump pointer allocated and not destructed.
class MCTargetExpr : public MCExpr {
- virtual ~MCTargetExpr(); // Not accessible.
protected:
MCTargetExpr() : MCExpr(Target) {}
protected:
MCTargetExpr() : MCExpr(Target) {}
return Create(Ctx.GetOrCreateSymbol(Name), Ctx);
}
return Create(Ctx.GetOrCreateSymbol(Name), Ctx);
}
-MCTargetExpr::~MCTargetExpr() {}
+void MCTargetExpr::Anchor() {}