codegen: clean any data from the input

This commit is contained in:
Yoichi Hirai
2016-11-30 17:42:03 +01:00
parent 7959ee49be
commit 547deec4be
3 changed files with 6 additions and 3 deletions
+3
View File
@@ -111,6 +111,9 @@ value is considered ``true`` by ``JUMPI`` instruction, we do not clean
the boolean values before they are used as the condition for
``JUMPI``.
In addition to the design principle above, the Solidity compiler
cleans input data when it is loaded onto the stack.
Different types have different rules for cleaning up overflows:
+---------------+---------------+------------------+