diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2006-10-31 19:21:54 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2006-10-31 19:21:54 +0100 |
commit | b5ace3b78346ae029998488057606133f714f222 (patch) | |
tree | 9bb68fd4d95610a9623e1a0b243495126df99abb /gcc/ada/elists.adb | |
parent | ea7339d1fb89c9744b481ae314b451e90c7dcc63 (diff) | |
download | gcc-b5ace3b78346ae029998488057606133f714f222.tar.gz |
Resync.
From-SVN: r118333
Diffstat (limited to 'gcc/ada/elists.adb')
-rw-r--r-- | gcc/ada/elists.adb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/ada/elists.adb b/gcc/ada/elists.adb index d8fc6ea05d4..0fb616e5cac 100644 --- a/gcc/ada/elists.adb +++ b/gcc/ada/elists.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2004 Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2006, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -186,7 +186,6 @@ package body Elists is N : constant Union_Id := Elmts.Table (Elmt).Next; begin - pragma Assert (Elmt /= No_Elmt); Elmts.Increment_Last; @@ -301,11 +300,11 @@ package body Elists is return Elmt = No_Elmt; end No; - ----------- + ---------- -- Node -- - ----------- + ---------- - function Node (Elmt : Elmt_Id) return Node_Id is + function Node (Elmt : Elmt_Id) return Node_Or_Entity_Id is begin if Elmt = No_Elmt then return Empty; |