Index: src/IceTargetLowering.h |
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h |
index b15c4f1e5f157e3d4045540ce6662a345f47ef44..449e99ecddc0e6b08df6fcef50bb68173981361b 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: |