Index: src/IceTargetLowering.h |
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h |
index 7383fff4811906c63dd57651254d22bb36235f30..9c0b6610769c224d5b58cededddb59fcef1df5f0 100644 |
--- a/src/IceTargetLowering.h |
+++ b/src/IceTargetLowering.h |
@@ -25,6 +25,8 @@ |
namespace Ice { |
+class Assembler; |
+ |
// LoweringContext makes it easy to iterate through non-deleted |
// instructions in a node, and insert new (lowered) instructions at |
// the current point. Along with the instruction list container and |
@@ -87,6 +89,7 @@ private: |
class TargetLowering { |
public: |
static TargetLowering *createLowering(TargetArch Target, Cfg *Func); |
+ static Assembler *createAssembler(TargetArch Target, Cfg *Func); |
void translate() { |
switch (Ctx->getOptLevel()) { |
case Opt_m1: |