Index: src/IceTargetLoweringX8632.h |
diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h |
index cd82d7ae9427c266e67906f2374e901727f492ba..eac38283e653c4809d5cd793b368e646014d9257 100644 |
--- a/src/IceTargetLoweringX8632.h |
+++ b/src/IceTargetLoweringX8632.h |
@@ -56,7 +56,7 @@ public: |
void lowerArguments() override; |
void addProlog(CfgNode *Node) override; |
void addEpilog(CfgNode *Node) override; |
- void emitConstants() const override; |
+ static void emitConstants(GlobalContext *Ctx); |
JF
2015/01/22 20:50:56
Why not keep this as override, and implement per t
Jim Stichnoth
2015/01/23 07:55:55
The reason was explained in the CL description:
"
|
SizeT makeNextLabelNumber() { return NextLabelNumber++; } |
// Ensure that a 64-bit Variable has been split into 2 32-bit |
// Variables, creating them if necessary. This is needed for all |
@@ -487,7 +487,7 @@ protected: |
private: |
~TargetX8632() override {} |
- template <typename T> void emitConstantPool() const; |
+ template <typename T> static void emitConstantPool(GlobalContext *Ctx); |
}; |
class TargetGlobalInitX8632 : public TargetGlobalInitLowering { |