Index: src/IceTargetLowering.h |
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h |
index ee0de8f0831952c1ab6a560cc511ea3e78e6a315..605562d138e8c8a605b1410bf2df84ef0886e9a5 100644 |
--- a/src/IceTargetLowering.h |
+++ b/src/IceTargetLowering.h |
@@ -136,6 +136,9 @@ class TargetLowering { |
public: |
// TODO(jvoung): return a unique_ptr like the other factory functions. |
static TargetLowering *createLowering(TargetArch Target, Cfg *Func); |
+ static void staticInit(TargetArch Target); |
+ // Each target must define a public static method: |
+ // static void staticInit(); |
static std::unique_ptr<Assembler> createAssembler(TargetArch Target, |
Cfg *Func); |
void translate() { |