diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2023-02-25 13:39:04 -0500 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2023-02-25 13:39:04 -0500 |
commit | 4af14b8c3e2b8c0ef230158b91e8a890dc34e523 (patch) | |
tree | 994ee5655739c51c66a3986f4af490733769cf6c /dictionary.cpp | |
parent | fc0d3ed9cfebd853db2a2ab26993a186a29180b1 (diff) |
reduce built-in word count
Diffstat (limited to 'dictionary.cpp')
-rw-r--r-- | dictionary.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dictionary.cpp b/dictionary.cpp index cb2aba8..199f3ed 100644 --- a/dictionary.cpp +++ b/dictionary.cpp @@ -23,8 +23,8 @@ Addr Dictionary::allot(Cell amount) noexcept { - Addr old = here; - here += amount; + Addr old = here(); + here(old + amount); return old; } @@ -44,8 +44,8 @@ Addr Dictionary::aligned(Addr addr) const noexcept Addr Dictionary::alignhere() noexcept { - here = aligned(here); - return here; + here(aligned(here())); + return here(); } void Dictionary::addDefinition(Word word) noexcept |