aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/exp_intr.adb
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2014-02-20 13:38:06 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2014-02-20 14:38:06 +0100
commite449429213d601e60b19d1d5db6dd761df98c2c5 (patch)
treececff9bfdd85fd8f02159f7941edbadfef64e28c /gcc/ada/exp_intr.adb
parent9576e7b112cad4adb1f9f37d913b7161640808d8 (diff)
downloadgcc-e449429213d601e60b19d1d5db6dd761df98c2c5.zip
gcc-e449429213d601e60b19d1d5db6dd761df98c2c5.tar.gz
gcc-e449429213d601e60b19d1d5db6dd761df98c2c5.tar.bz2
einfo.ads: Minor comment addition: Etype of package is Standard_Void_Type.
2014-02-20 Robert Dewar <dewar@adacore.com> * einfo.ads: Minor comment addition: Etype of package is Standard_Void_Type. * checks.adb, exp_aggr.adb, exp_atag.adb, exp_attr.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch9.adb, exp_dbug.adb, exp_disp.adb, exp_imgv.adb, exp_intr.adb, exp_prag.adb, exp_sel.adb, exp_strm.adb, exp_util.adb, freeze.adb, rtsfind.adb, sem_aggr.adb, sem_attr.adb, sem_ch10.adb, sem_ch12.adb, sem_ch13.adb, sem_ch3.adb, sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch8.adb, sem_dim.adb, sem_prag.adb, sem_res.adb, sem_util.adb, tbuild.adb, tbuild.ads: Remove New_Reference_To. Replace all calls with calls to New_Occurrence_Of. 2014-02-20 Robert Dewar <dewar@adacore.com> * par-util.adb (Ignore, case of right paren): Make this a serious error. From-SVN: r207942
Diffstat (limited to 'gcc/ada/exp_intr.adb')
-rw-r--r--gcc/ada/exp_intr.adb12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ada/exp_intr.adb b/gcc/ada/exp_intr.adb
index fa0ced2..a4a4989 100644
--- a/gcc/ada/exp_intr.adb
+++ b/gcc/ada/exp_intr.adb
@@ -247,7 +247,7 @@ package body Exp_Intr is
declare
Fname : constant Node_Id :=
- New_Reference_To (RTE (RE_Secondary_Tag), Loc);
+ New_Occurrence_Of (RTE (RE_Secondary_Tag), Loc);
begin
pragma Assert (not Is_Interface (Etype (Tag_Arg)));
@@ -256,13 +256,13 @@ package body Exp_Intr is
Make_Object_Declaration (Loc,
Defining_Identifier => Make_Temporary (Loc, 'V'),
Object_Definition =>
- New_Reference_To (RTE (RE_Tag), Loc),
+ New_Occurrence_Of (RTE (RE_Tag), Loc),
Expression =>
Make_Function_Call (Loc,
Name => Fname,
Parameter_Associations => New_List (
Relocate_Node (Tag_Arg),
- New_Reference_To
+ New_Occurrence_Of
(Node (First_Elmt (Access_Disp_Table
(Etype (Etype (Act_Constr))))),
Loc))));
@@ -324,7 +324,7 @@ package body Exp_Intr is
Build_CW_Membership (Loc,
Obj_Tag_Node => Obj_Tag_Node,
Typ_Tag_Node =>
- New_Reference_To (
+ New_Occurrence_Of (
Node (First_Elmt (Access_Disp_Table (
Root_Type (Result_Typ)))), Loc),
Related_Nod => N,
@@ -354,7 +354,7 @@ package body Exp_Intr is
Prefix => New_Copy_Tree (Tag_Arg),
Attribute_Name => Name_Address),
- New_Reference_To (
+ New_Occurrence_Of (
Node (First_Elmt (Access_Disp_Table (
Root_Type (Result_Typ)))), Loc)))),
Then_Statements =>
@@ -1193,7 +1193,7 @@ package body Exp_Intr is
Set_Expression (Free_Node,
Unchecked_Convert_To (Typ,
Make_Function_Call (Loc,
- Name => New_Reference_To (RTE (RE_Base_Address), Loc),
+ Name => New_Occurrence_Of (RTE (RE_Base_Address), Loc),
Parameter_Associations => New_List (
Unchecked_Convert_To (RTE (RE_Address), Free_Arg)))));