aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/iirs.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-01-02 21:43:13 +0100
committerTristan Gingold <tgingold@free.fr>2019-01-02 21:43:13 +0100
commitc414582a22b001b7ca9893a1c2e017fb0523003d (patch)
treee8c173ce64db767595c586d26deb9c86a544123e /src/vhdl/iirs.ads
parent9195e559d820e6fee7325da1502481d2f884084d (diff)
downloadghdl-c414582a22b001b7ca9893a1c2e017fb0523003d.tar.gz
ghdl-c414582a22b001b7ca9893a1c2e017fb0523003d.tar.bz2
ghdl-c414582a22b001b7ca9893a1c2e017fb0523003d.zip
Remove unused is_ref for choices. Adjust.
Diffstat (limited to 'src/vhdl/iirs.ads')
-rw-r--r--src/vhdl/iirs.ads19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/vhdl/iirs.ads b/src/vhdl/iirs.ads
index 30aadc38b..69917d637 100644
--- a/src/vhdl/iirs.ads
+++ b/src/vhdl/iirs.ads
@@ -535,9 +535,8 @@ package Iirs is
-- associations have the same_alternative_flag set.
-- Get/Set_Chain (Field2)
--
- -- Lexical order of appareance. Choices are sorted during analysis. This
- -- field can be used to display the choices in the original order.
- -- Get/Set_Choice_Position (Field1)
+ -- Ordered position of the choice from 1 to N. 0 is reserved for others.
+ -- Get/Set_Choice_Order (Field1)
--
-- Should be a simple_name.
-- Only for Iir_Kind_Choice_By_Name:
@@ -576,8 +575,6 @@ package Iirs is
-- Only for Iir_Kind_Choice_By_Range:
-- Only for Iir_Kind_Choice_By_Expression:
-- Get/Set_Choice_Staticness (State1)
- --
- -- Get/Set_Is_Ref (Flag12)
-- Iir_Kind_Entity_Aspect_Entity (Short)
--
@@ -6161,23 +6158,21 @@ package Iirs is
procedure Set_Time (We : Iir_Waveform_Element; An_Iir : Iir);
-- Field: Field1 (pos)
- function Get_Choice_Position (Choice : Iir) return Int32;
- procedure Set_Choice_Position (Choice : Iir; Pos : Int32);
+ function Get_Choice_Order (Choice : Iir) return Int32;
+ procedure Set_Choice_Order (Choice : Iir; Pos : Int32);
-- Node associated with a choice.
- -- Field: Field3 Maybe_Ref
+ -- Field: Field3
function Get_Associated_Expr (Target : Iir) return Iir;
procedure Set_Associated_Expr (Target : Iir; Associated : Iir);
-- Node associated with a choice.
- -- Field: Field3 Maybe_Ref
+ -- Field: Field3
function Get_Associated_Block (Target : Iir) return Iir;
procedure Set_Associated_Block (Target : Iir; Associated : Iir);
-- Chain associated with a choice.
- -- A Maybe_Ref_Chain is a reference to a chain if Get_Is_Ref is True,
- -- otherwise this is a normal chain.
- -- Field: Field4 Maybe_Ref_Chain
+ -- Field: Field4 Chain
function Get_Associated_Chain (Target : Iir) return Iir;
procedure Set_Associated_Chain (Target : Iir; Associated : Iir);