Index: src/IceInstARM32.cpp |
diff --git a/src/IceInstARM32.cpp b/src/IceInstARM32.cpp |
index 3f0d2e609e55e2a1d21fcdef477f17e51573f408..465d81d892378eed956afc351d5804e92d7786f1 100644 |
--- a/src/IceInstARM32.cpp |
+++ b/src/IceInstARM32.cpp |
@@ -247,6 +247,9 @@ OperandARM32Mem::OperandARM32Mem(Cfg *Func, Type Ty, Variable *Base, |
Vars[1] = Index; |
} |
+OperandARM32ShAmtImm::OperandARM32ShAmtImm(ConstantInteger32 *SA) |
+ : OperandARM32(kShAmtImm, IceType_i8), ShAmt(SA) {} |
+ |
bool OperandARM32Mem::canHoldOffset(Type Ty, bool SignExt, int32_t Offset) { |
int32_t Bits = SignExt ? TypeARM32Attributes[Ty].SExtAddrOffsetBits |
: TypeARM32Attributes[Ty].ZExtAddrOffsetBits; |
@@ -1771,6 +1774,12 @@ void OperandARM32Mem::dump(const Cfg *Func, Ostream &Str) const { |
Str << "] AddrMode==" << getAddrMode(); |
} |
+void OperandARM32ShAmtImm::emit(const Cfg *Func) const { ShAmt->emit(Func); } |
+ |
+void OperandARM32ShAmtImm::dump(const Cfg *, Ostream &Str) const { |
+ ShAmt->dump(Str); |
+} |
+ |
void OperandARM32FlexImm::emit(const Cfg *Func) const { |
if (!BuildDefs::dump()) |
return; |