mirror of
https://github.com/corda/corda.git
synced 2025-06-14 13:18:18 +00:00
group typeMask and registerMask into OperandMask, for Architecture::plan
This commit is contained in:
committed by
Joshua Warner
parent
5a5b9248e6
commit
4462b87f10
@ -84,12 +84,11 @@ public:
|
||||
|
||||
for(int op = (int)lir::Call; op < (int)lir::AlignedJump; op++) {
|
||||
bool thunk;
|
||||
uint8_t typeMask;
|
||||
uint64_t registerMask;
|
||||
env.arch->plan((lir::UnaryOperation)op, vm::TargetBytesPerWord, &typeMask, ®isterMask, &thunk);
|
||||
OperandMask mask;
|
||||
env.arch->plan((lir::UnaryOperation)op, vm::TargetBytesPerWord, mask, &thunk);
|
||||
assertFalse(thunk);
|
||||
assertNotEqual(static_cast<uint8_t>(0), typeMask);
|
||||
assertNotEqual(static_cast<uint64_t>(0), registerMask);
|
||||
assertNotEqual(static_cast<uint8_t>(0), mask.typeMask);
|
||||
assertNotEqual(static_cast<uint64_t>(0), mask.registerMask);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user