aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Bourke <tim@tbrk.org>2017-02-10 21:24:48 +0100
committerLionel Rieg <lionel.rieg@univ-grenoble-alpes.fr>2020-04-21 01:08:58 +0200
commit4f6dcb643f804fb9736b65ce58b6e0ddc1a0ca1a (patch)
treed604bd7f1cfbe7cd40fda92b65082d10b19bb8e4
parentd6ec1e0242ce492d3aa564116d50241417086ce5 (diff)
downloadcompcert-kvx-4f6dcb643f804fb9736b65ce58b6e0ddc1a0ca1a.tar.gz
compcert-kvx-4f6dcb643f804fb9736b65ce58b6e0ddc1a0ca1a.zip
Fix out-of-date comment about function allocs
-rw-r--r--common/Globalenvs.v6
1 files changed, 2 insertions, 4 deletions
diff --git a/common/Globalenvs.v b/common/Globalenvs.v
index d37fbd46..462a4ec1 100644
--- a/common/Globalenvs.v
+++ b/common/Globalenvs.v
@@ -22,10 +22,8 @@
Global environments, along with the initial memory state at the beginning
of program execution, are built from the program of interest, as follows:
- A distinct memory address is assigned to each function of the program.
- These function addresses use negative numbers to distinguish them from
- addresses of memory blocks. The associations of function name to function
- address and function address to function description are recorded in
- the global environment.
+ The associations of function name to function address and function address
+ to function description are recorded in the global environment.
- For each global variable, a memory block is allocated and associated to
the name of the variable.