| Index: src/IceInstARM32.h
|
| diff --git a/src/IceInstARM32.h b/src/IceInstARM32.h
|
| index 4d8f02b5b712e21d1f6ddf0a88f6cce172cfe286..445a33c6cf3c9f5e7c1121e3f86fee3b327989f2 100644
|
| --- a/src/IceInstARM32.h
|
| +++ b/src/IceInstARM32.h
|
| @@ -265,7 +265,7 @@ public:
|
| return Operand->getKind() == static_cast<OperandKind>(kFlexFpImm);
|
| }
|
|
|
| - static bool canHoldImm(Operand *C, uint32_t *ModifiedImm);
|
| + static bool canHoldImm(const Operand *C, uint32_t *ModifiedImm);
|
|
|
| uint32_t getModifiedImm() const { return ModifiedImm; }
|
|
|
| @@ -973,10 +973,13 @@ public:
|
| void emit(const Cfg *Func) const override;
|
| void emitIAS(const Cfg *Func) const override;
|
| void dump(const Cfg *Func) const override;
|
| + void setRelocOffset(RelocOffset *Value) { OffsetReloc = Value; }
|
|
|
| private:
|
| InstARM32Label(Cfg *Func, TargetARM32 *Target);
|
|
|
| + RelocOffset *OffsetReloc = nullptr;
|
| +
|
| SizeT Number; // used for unique label generation.
|
| };
|
|
|
|
|