mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove obsolete identifer for the identity precompile
This commit is contained in:
parent
b3b1a499e5
commit
d2185bf529
@ -41,7 +41,6 @@ unsigned const CompilerUtils::dataStartOffset = 4;
|
|||||||
size_t const CompilerUtils::freeMemoryPointer = 64;
|
size_t const CompilerUtils::freeMemoryPointer = 64;
|
||||||
size_t const CompilerUtils::zeroPointer = CompilerUtils::freeMemoryPointer + 32;
|
size_t const CompilerUtils::zeroPointer = CompilerUtils::freeMemoryPointer + 32;
|
||||||
size_t const CompilerUtils::generalPurposeMemoryStart = CompilerUtils::zeroPointer + 32;
|
size_t const CompilerUtils::generalPurposeMemoryStart = CompilerUtils::zeroPointer + 32;
|
||||||
unsigned const CompilerUtils::identityContractAddress = 4;
|
|
||||||
|
|
||||||
static_assert(CompilerUtils::freeMemoryPointer >= 64, "Free memory pointer must not overlap with scratch area.");
|
static_assert(CompilerUtils::freeMemoryPointer >= 64, "Free memory pointer must not overlap with scratch area.");
|
||||||
static_assert(CompilerUtils::zeroPointer >= CompilerUtils::freeMemoryPointer + 32, "Zero pointer must not overlap with free memory pointer.");
|
static_assert(CompilerUtils::zeroPointer >= CompilerUtils::freeMemoryPointer + 32, "Zero pointer must not overlap with free memory pointer.");
|
||||||
|
@ -298,9 +298,6 @@ public:
|
|||||||
static size_t const generalPurposeMemoryStart;
|
static size_t const generalPurposeMemoryStart;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// Address of the precompiled identity contract.
|
|
||||||
static unsigned const identityContractAddress;
|
|
||||||
|
|
||||||
/// Appends code that cleans higher-order bits for integer types.
|
/// Appends code that cleans higher-order bits for integer types.
|
||||||
void cleanHigherOrderBits(IntegerType const& _typeOnStack);
|
void cleanHigherOrderBits(IntegerType const& _typeOnStack);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user