mirror of
https://github.com/corda/corda.git
synced 2025-06-18 23:28:21 +00:00
add non-member begin/end methods for older compilers
This commit is contained in:
@ -184,6 +184,14 @@ inline RegisterIterator BoundedRegisterMask::end() const {
|
|||||||
return RegisterIterator(start - 1, -1, start - 1, *this);
|
return RegisterIterator(start - 1, -1, start - 1, *this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inline RegisterIterator begin(BoundedRegisterMask mask) {
|
||||||
|
return mask.begin();
|
||||||
|
}
|
||||||
|
|
||||||
|
inline RegisterIterator end(BoundedRegisterMask mask) {
|
||||||
|
return mask.end();
|
||||||
|
}
|
||||||
|
|
||||||
class RegisterFile {
|
class RegisterFile {
|
||||||
public:
|
public:
|
||||||
BoundedRegisterMask allRegisters;
|
BoundedRegisterMask allRegisters;
|
||||||
|
Reference in New Issue
Block a user