diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-17 09:38:12 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-17 09:38:12 +0000 |
commit | 37f5ff39a98ae165f9b7f47c351ba172e04957d5 (patch) | |
tree | 69f024da5f301a5d19395994058f7c9fff2082b9 /gcc/ada/nlists.ads | |
parent | cf4214f5516da07ac74b53c00efe703c2fffacf0 (diff) | |
download | gcc-37f5ff39a98ae165f9b7f47c351ba172e04957d5.tar.gz |
2009-04-17 Ed Schonberg <schonberg@adacore.com>
* atree.ads, atree.adb: Move New_Copy_Tree.to sem_util.
* nlists.ads, nlists.adb: Move New_Copy_List to sem_util.
* lib-load.adb: Use Copy_Separate_Tree rather than New_Copy_Tree
* sem_util.ads, sem_util.adb: New_Copy_Tree and New_Copy_List belong in
semantic units, because the handling of itypes in the copied tree
requires semantic information that does not belong in atree.
2009-04-17 Robert Dewar <dewar@adacore.com>
* par-ch6.adb: Minor reformatting
* prj.adb: Minor reformatting
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146230 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/nlists.ads')
-rw-r--r-- | gcc/ada/nlists.ads | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/ada/nlists.ads b/gcc/ada/nlists.ads index 5a6b94f9d06..3753936df10 100644 --- a/gcc/ada/nlists.ads +++ b/gcc/ada/nlists.ads @@ -108,13 +108,6 @@ package Nlists is function New_Copy_List_Original (List : List_Id) return List_Id; -- Same as New_Copy_List but copies only nodes coming from source - function New_Copy_List_Tree (List : List_Id) return List_Id; - -- Similar to New_Copy_List, except that the copies are done using the - -- Atree.New_Copy_Tree function, which means that a full recursive copy - -- of the subtrees in the list is performed, setting proper parents. As - -- for New_Copy_Tree, it is illegal to attempt to copy extended nodes - -- (entities) either directly or indirectly using this function. - function First (List : List_Id) return Node_Id; pragma Inline (First); -- Obtains the first element of the given node list or, if the node list |