mirror of
https://github.com/corda/corda.git
synced 2025-06-18 23:28:21 +00:00
support encoding instructions with indexed and scaled memory offsets
This commit is contained in:
@ -118,7 +118,6 @@ nextPowerOfTwo(unsigned n)
|
||||
inline unsigned
|
||||
log(unsigned n)
|
||||
{
|
||||
if (n < 3) return 1;
|
||||
unsigned r = 0;
|
||||
for (unsigned i = 1; i < n; ++r) i <<= 1;
|
||||
return r;
|
||||
|
Reference in New Issue
Block a user