mirror of
https://github.com/corda/corda.git
synced 2025-06-18 23:28:21 +00:00
stack mapping progress
This commit is contained in:
@ -142,7 +142,8 @@ clearBit(uintptr_t* map, unsigned i)
|
||||
inline unsigned
|
||||
getBit(uintptr_t* map, unsigned i)
|
||||
{
|
||||
return map[wordOf(i)] & (static_cast<uintptr_t>(1) << bitOf(i));
|
||||
return (map[wordOf(i)] & (static_cast<uintptr_t>(1) << bitOf(i)))
|
||||
>> bitOf(i);
|
||||
}
|
||||
|
||||
template <class T>
|
||||
|
Reference in New Issue
Block a user