The undo log entry is the type stored in the undo log. If we're byte-logging then it has a mask, otherwise it's just an address-value pair.
bool stm::WordLoggingUndoLogEntry::filter |
( |
void ** |
lower, |
|
|
void ** |
upper |
|
) |
| |
|
inline |
Called in order to find out if the logged word falls within the address range. This is used to both filter out undo operations to the protected stack, and the exception object.
Note that while the wordlog can only be completely filtered out, we don't have support for partial filtering here. This is almost certainly ok, since the stack is word aligned, and an exception object is probably aligned as well, and at least a word large.
The bytelog version /can/ be partially filtered, which is just a masking operation.