1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Constify (trivially) ImmutableSet::iterator::getVisitState().

This was probably intended all along.

llvm-svn: 156318
This commit is contained in:
Jordy Rose 2012-05-07 19:24:40 +00:00
parent d92280013d
commit 7d6fc98ccf

View File

@ -667,7 +667,7 @@ public:
return reinterpret_cast<TreeTy*>(stack.back() & ~Flags);
}
uintptr_t getVisitState() {
uintptr_t getVisitState() const {
assert(!stack.empty());
return stack.back() & Flags;
}