Also optimize memory.

This commit is contained in:
chriseth
2019-06-20 18:43:37 +02:00
parent 8572600401
commit 2b979cba38
24 changed files with 331 additions and 63 deletions
+3
View File
@@ -60,6 +60,9 @@ struct BuiltinFunction
/// If false, storage of the current contract before and after the function is the same
/// under every circumstance. If the function does not return, this can be false.
bool invalidatesStorage = true;
/// If false, memory before and after the function is the same under every circumstance.
/// If the function does not return, this can be false.
bool invalidatesMemory = true;
/// If true, can only accept literals as arguments and they cannot be moved to variables.
bool literalArguments = false;
};