1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

[MC] Constifying MCInst::size()

llvm-svn: 229524
This commit is contained in:
Colin LeMahieu 2015-02-17 19:46:23 +00:00
parent 3f8f25c230
commit f18b2da2a1

View File

@ -169,7 +169,7 @@ public:
}
void clear() { Operands.clear(); }
size_t size() { return Operands.size(); }
size_t size() const { return Operands.size(); }
typedef SmallVectorImpl<MCOperand>::iterator iterator;
typedef SmallVectorImpl<MCOperand>::const_iterator const_iterator;