Fix unrelated test failure.

This commit is contained in:
Daniel Kirchner 2019-11-28 18:49:28 +01:00
parent 7d1b0c6023
commit 025a696bb0
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ public:
/// signature: (array, value) /// signature: (array, value)
std::string storageArrayPushFunction(ArrayType const& _type); std::string storageArrayPushFunction(ArrayType const& _type);
/// @returns the name of a function that pushes the base type's zero element to a storage array /// @returns the name of a function that pushes the base type's zero element to a storage array and returns storage slot and offset of the added element.
/// signature: (array) -> slot, offset /// signature: (array) -> slot, offset
std::string storageArrayPushZeroFunction(ArrayType const& _type); std::string storageArrayPushZeroFunction(ArrayType const& _type);

View File

@ -12,7 +12,7 @@
// { // {
// { // {
// let y := mload(0x20) // let y := mload(0x20)
// for { } iszero(iszero(and(y, 8))) { if y { revert(0, 0) } } // for { } and(y, 8) { if y { revert(0, 0) } }
// { // {
// if y { continue } // if y { continue }
// sstore(1, 0) // sstore(1, 0)