Index: src/IceInstARM32.h |
diff --git a/src/IceInstARM32.h b/src/IceInstARM32.h |
index 96a95c5b87a4ef4e7042cf8778e27ee6015aa702..5d53afd0cd5281fb0ae5b24ca2ec395b4b91b374 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. |
}; |