Merge pull request #6377 from ethereum/remove-identity

Remove obsolete identifer for the identity precompile
This commit is contained in:
chriseth
2019-03-25 22:42:53 +01:00
committed by GitHub
2 changed files with 0 additions and 4 deletions
-1
View File
@@ -41,7 +41,6 @@ unsigned const CompilerUtils::dataStartOffset = 4;
size_t const CompilerUtils::freeMemoryPointer = 64;
size_t const CompilerUtils::zeroPointer = CompilerUtils::freeMemoryPointer + 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::zeroPointer >= CompilerUtils::freeMemoryPointer + 32, "Zero pointer must not overlap with free memory pointer.");
-3
View File
@@ -298,9 +298,6 @@ public:
static size_t const generalPurposeMemoryStart;
private:
/// Address of the precompiled identity contract.
static unsigned const identityContractAddress;
/// Appends code that cleans higher-order bits for integer types.
void cleanHigherOrderBits(IntegerType const& _typeOnStack);