| Index: src/IceTargetLoweringX86Base.h
|
| diff --git a/src/IceTargetLoweringX86Base.h b/src/IceTargetLoweringX86Base.h
|
| index 01298eb53910b9d006f1a51aadb2077d766b38be..48f04abbd6c65b7aacbb0f4511683e5301866a38 100644
|
| --- a/src/IceTargetLoweringX86Base.h
|
| +++ b/src/IceTargetLoweringX86Base.h
|
| @@ -79,10 +79,6 @@ public:
|
| ~TargetX86Base() override = default;
|
|
|
| static void staticInit(GlobalContext *Ctx);
|
| - static TargetX86Base *create(Cfg *Func) { return new TargetX86Base(Func); }
|
| - std::unique_ptr<::Ice::Assembler> createAssembler() const override {
|
| - return nullptr;
|
| - }
|
|
|
| static FixupKind getPcRelFixup() { return PcRelFixup; }
|
| static FixupKind getAbsFixup() { return AbsFixup; }
|
| @@ -356,17 +352,10 @@ protected:
|
| }
|
| /// Emit just the call instruction (without argument or return variable
|
| /// processing), sandboxing if needed.
|
| - virtual Inst *emitCallToTarget(Operand *CallTarget, Variable *ReturnReg) {
|
| - (void)CallTarget;
|
| - (void)ReturnReg;
|
| - return nullptr;
|
| - }
|
| + virtual Inst *emitCallToTarget(Operand *CallTarget, Variable *ReturnReg) = 0;
|
| /// Materialize the moves needed to return a value of the specified type.
|
| - virtual Variable *moveReturnValueToRegister(Operand *Value, Type ReturnType) {
|
| - (void)Value;
|
| - (void)ReturnType;
|
| - return nullptr;
|
| - }
|
| + virtual Variable *moveReturnValueToRegister(Operand *Value,
|
| + Type ReturnType) = 0;
|
|
|
| /// Emit a jump table to the constant pool.
|
| void emitJumpTable(const Cfg *Func,
|
|
|