aboutsummaryrefslogtreecommitdiffstats
path: root/libjulia/optimiser
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-06-06 16:01:18 +0800
committerGitHub <noreply@github.com>2018-06-06 16:01:18 +0800
commit3d8d6429efe45daf6a27ad575938d65e266955c1 (patch)
treeff8c38f4f345e3ce2a5e422726e0ee1568cc680f /libjulia/optimiser
parent12f6efafe9af06a439a959e137d3688d4e626550 (diff)
parentae08078cabd7cb67c95cd6d0b8437a14125a897e (diff)
downloaddexon-solidity-3d8d6429efe45daf6a27ad575938d65e266955c1.tar.gz
dexon-solidity-3d8d6429efe45daf6a27ad575938d65e266955c1.tar.zst
dexon-solidity-3d8d6429efe45daf6a27ad575938d65e266955c1.zip
Merge pull request #4234 from elopio/patch-4
docs: fix typos
Diffstat (limited to 'libjulia/optimiser')
-rw-r--r--libjulia/optimiser/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjulia/optimiser/README.md b/libjulia/optimiser/README.md
index e8aa777a..1b000294 100644
--- a/libjulia/optimiser/README.md
+++ b/libjulia/optimiser/README.md
@@ -25,13 +25,13 @@ a semantically equivalent transformation as long as it is performed after the
disambiguation stage. The reason is that moving a definition upwards cannot decrease
its visibility and it is impossible to reference variables defined in a different function.
-The benefit of this stage is that function definitions can be lookup up more easily.
+The benefit of this stage is that function definitions can be looked up more easily.
## Function Grouper
The function grouper has to be applied after the disambiguator and the function hoister.
Its effect is that all topmost elements that are not function definitions are moved
-into a single block which is the first satement of the root block.
+into a single block which is the first statement of the root block.
After this step, a program has the following normal form: