Index: src/IceTargetLoweringX8632.h |
diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h |
index e5f8be28e5c5aa18fca5166038d5e0f7e4031041..8931466abfe96f3f182023bf2f1c7487872d54a5 100644 |
--- a/src/IceTargetLoweringX8632.h |
+++ b/src/IceTargetLoweringX8632.h |
@@ -27,6 +27,7 @@ public: |
static TargetX8632 *create(Cfg *Func) { return new TargetX8632(Func); } |
virtual void translateOm1(); |
+ virtual void translateO2(); |
virtual Variable *getPhysicalRegister(SizeT RegNum); |
virtual IceString getRegName(SizeT RegNum, Type Ty) const; |
@@ -89,6 +90,8 @@ protected: |
virtual void lowerStore(const InstStore *Inst); |
virtual void lowerSwitch(const InstSwitch *Inst); |
virtual void lowerUnreachable(const InstUnreachable *Inst); |
+ virtual void doAddressOptLoad(); |
+ virtual void doAddressOptStore(); |
// Operand legalization helpers. To deal with address mode |
// constraints, the helpers will create a new Operand and emit |
@@ -265,8 +268,8 @@ private: |
template <typename T> void emitConstantPool() const; |
}; |
-template <> void ConstantFloat::emit(const Cfg *Func) const; |
-template <> void ConstantDouble::emit(const Cfg *Func) const; |
+template <> void ConstantFloat::emit(GlobalContext *Ctx) const; |
+template <> void ConstantDouble::emit(GlobalContext *Ctx) const; |
} // end of namespace Ice |