From b5ace3b78346ae029998488057606133f714f222 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Tue, 31 Oct 2006 19:21:54 +0100 Subject: Resync. From-SVN: r118333 --- gcc/ada/elists.adb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'gcc/ada/elists.adb') 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; -- cgit v1.2.1