diff options
Diffstat (limited to 'lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h')
-rw-r--r-- | lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h b/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h index 1b57687996..8a7b78da9a 100644 --- a/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h +++ b/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h @@ -20,8 +20,8 @@ class PPCMCExpr : public MCTargetExpr { public: enum VariantKind { VK_PPC_None, - VK_PPC_HA16, - VK_PPC_LO16 + VK_PPC_LO, + VK_PPC_HA }; private: @@ -40,12 +40,12 @@ public: static const PPCMCExpr *Create(VariantKind Kind, const MCExpr *Expr, MCContext &Ctx); - static const PPCMCExpr *CreateHa16(const MCExpr *Expr, MCContext &Ctx) { - return Create(VK_PPC_HA16, Expr, Ctx); + static const PPCMCExpr *CreateLo(const MCExpr *Expr, MCContext &Ctx) { + return Create(VK_PPC_LO, Expr, Ctx); } - static const PPCMCExpr *CreateLo16(const MCExpr *Expr, MCContext &Ctx) { - return Create(VK_PPC_LO16, Expr, Ctx); + static const PPCMCExpr *CreateHa(const MCExpr *Expr, MCContext &Ctx) { + return Create(VK_PPC_HA, Expr, Ctx); } /// @} |