mirror of
https://github.com/corda/corda.git
synced 2025-01-09 14:33:30 +00:00
call c->arch->plan in CallEvent ctor to ensure the address operand is placed into the proper operand type for the call instruction
This commit is contained in:
parent
0832c740fc
commit
2554673dda
@ -2251,8 +2251,19 @@ class CallEvent: public Event {
|
|||||||
fprintf(stderr, "address read %p\n", address);
|
fprintf(stderr, "address read %p\n", address);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{ bool thunk;
|
||||||
|
uint8_t typeMask;
|
||||||
|
uint64_t planRegisterMask;
|
||||||
|
c->arch->plan
|
||||||
|
((flags & Compiler::Aligned) ? AlignedCall : Call, BytesPerWord,
|
||||||
|
&typeMask, &planRegisterMask, &thunk);
|
||||||
|
|
||||||
|
assert(c, thunk == 0);
|
||||||
|
|
||||||
addRead(c, this, address, read
|
addRead(c, this, address, read
|
||||||
(c, SiteMask(~0, registerMask, AnyFrameIndex)));
|
(c, SiteMask
|
||||||
|
(typeMask, registerMask & planRegisterMask, AnyFrameIndex)));
|
||||||
|
}
|
||||||
|
|
||||||
int footprint = stackArgumentFootprint;
|
int footprint = stackArgumentFootprint;
|
||||||
for (Stack* s = stackBefore; s; s = s->next) {
|
for (Stack* s = stackBefore; s; s = s->next) {
|
||||||
|
Loading…
Reference in New Issue
Block a user