projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50a2820
)
[Ada] Add comment on special Heap variable used in GNATprove
author
Yannick Moy
<moy@adacore.com>
Tue, 10 Nov 2020 13:30:03 +0000
(14:30 +0100)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Mon, 30 Nov 2020 14:16:17 +0000
(09:16 -0500)
gcc/ada/
* spark_xrefs.ads: Add comment for Heap that it may remain
Empty.
gcc/ada/spark_xrefs.ads
patch
|
blob
|
history
diff --git
a/gcc/ada/spark_xrefs.ads
b/gcc/ada/spark_xrefs.ads
index 88a34c5b345e03803c27466ddff28c7a010892e8..ffd72685b27edf551d166698f9d42950ddb2d9fa 100644
(file)
--- a/
gcc/ada/spark_xrefs.ads
+++ b/
gcc/ada/spark_xrefs.ads
@@
-57,7
+57,8
@@
package SPARK_Xrefs is
Heap : Entity_Id := Empty;
-- A special entity which denotes the heap object; it should be considered
-- constant, but needs to be variable, because it can only be initialized
- -- after the node tables are created.
+ -- after the node tables are created. Also, it is only created if there is
+ -- an actual need for it, and remains Empty otherwise.
-----------------
-- Subprograms --