mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
use Architecture::plan in BranchEvent ctor to determine acceptable types for address
This commit is contained in:
parent
a0e503ad0a
commit
762df17aa7
@ -3426,7 +3426,16 @@ class BranchEvent: public Event {
|
||||
{
|
||||
address->addPredecessor(c, this);
|
||||
|
||||
addRead(c, this, address, read(c, SiteMask(~0, ~0, AnyFrameIndex)));
|
||||
bool thunk;
|
||||
uint8_t typeMask;
|
||||
uint64_t registerMask;
|
||||
|
||||
c->arch->plan(type, BytesPerWord, &typeMask, ®isterMask, &thunk);
|
||||
|
||||
assert(c, thunk == 0);
|
||||
|
||||
addRead(c, this, address, read
|
||||
(c, SiteMask(typeMask, registerMask, AnyFrameIndex)));
|
||||
}
|
||||
|
||||
virtual const char* name() {
|
||||
|
Loading…
Reference in New Issue
Block a user