Commit d72e7628 by Arnaud Charlet

[multiple changes]

2011-09-05  Gary Dismukes  <dismukes@adacore.com>

	* exp_ch7.adb, exp_ch6.adb: Minor reformatting.

2011-09-05  Johannes Kanig  <kanig@adacore.com>

	* lib-xref-alfa.adb: Update comments.

2011-09-05  Thomas Quinot  <quinot@adacore.com>

	* sem_res.adb: Minor reformatting

From-SVN: r178535
parent 0d566e01
2011-09-05 Gary Dismukes <dismukes@adacore.com>
* exp_ch7.adb, exp_ch6.adb: Minor reformatting.
2011-09-05 Johannes Kanig <kanig@adacore.com>
* lib-xref-alfa.adb: Update comments.
2011-09-05 Thomas Quinot <quinot@adacore.com>
* sem_res.adb: Minor reformatting
2011-09-05 Ed Schonberg <schonberg@adacore.com> 2011-09-05 Ed Schonberg <schonberg@adacore.com>
* exp_ch6.adb (Build_In_Place_Formal): If extra formals are not * exp_ch6.adb (Build_In_Place_Formal): If extra formals are not
......
...@@ -7236,7 +7236,7 @@ package body Exp_Ch6 is ...@@ -7236,7 +7236,7 @@ package body Exp_Ch6 is
Add_Finalization_Master_Actual_To_Build_In_Place_Call Add_Finalization_Master_Actual_To_Build_In_Place_Call
(Func_Call, Function_Id, Acc_Type); (Func_Call, Function_Id, Acc_Type);
-- Is access type has a master entity, pass a reference to it. -- If access type has a master entity, pass a reference to it
if Present (Master_Id (Acc_Type)) then if Present (Master_Id (Acc_Type)) then
Add_Task_Actuals_To_Build_In_Place_Call Add_Task_Actuals_To_Build_In_Place_Call
......
...@@ -3042,7 +3042,7 @@ package body Exp_Ch7 is ...@@ -3042,7 +3042,7 @@ package body Exp_Ch7 is
Parameter_Associations => Parameter_Associations =>
New_List (New_Reference_To (Data.E_Id, Data.Loc))); New_List (New_Reference_To (Data.E_Id, Data.Loc)));
-- Restricted runtime: exception messages are not supported and hence -- Restricted run-time: exception messages are not supported and hence
-- Raise_From_Controlled_Operation is not supported. Raise Program_Error -- Raise_From_Controlled_Operation is not supported. Raise Program_Error
-- instead. -- instead.
...@@ -3890,10 +3890,10 @@ package body Exp_Ch7 is ...@@ -3890,10 +3890,10 @@ package body Exp_Ch7 is
No_Body := True; No_Body := True;
end if; end if;
-- For a nested instance, delay processing until freeze point. -- For a nested instance, delay processing until freeze point
if Has_Delayed_Freeze (Id) if Has_Delayed_Freeze (Id)
and then Nkind (Parent (N)) /= N_Compilation_Unit and then Nkind (Parent (N)) /= N_Compilation_Unit
then then
return; return;
end if; end if;
...@@ -7284,7 +7284,7 @@ package body Exp_Ch7 is ...@@ -7284,7 +7284,7 @@ package body Exp_Ch7 is
-- Procedure call or raise statement -- Procedure call or raise statement
begin begin
-- Standard runtime, .NET/JVM targets: add choice parameter E and pass -- Standard run-time, .NET/JVM targets: add choice parameter E and pass
-- it to Raise_From_Controlled_Operation so that the original exception -- it to Raise_From_Controlled_Operation so that the original exception
-- name and message can be recorded in the exception message for -- name and message can be recorded in the exception message for
-- Program_Error. -- Program_Error.
...@@ -7299,7 +7299,7 @@ package body Exp_Ch7 is ...@@ -7299,7 +7299,7 @@ package body Exp_Ch7 is
Parameter_Associations => New_List ( Parameter_Associations => New_List (
New_Reference_To (E_Occ, Loc))); New_Reference_To (E_Occ, Loc)));
-- Restricted runtime: exception messages are not supported -- Restricted run-time: exception messages are not supported
else else
E_Occ := Empty; E_Occ := Empty;
...@@ -7538,7 +7538,7 @@ package body Exp_Ch7 is ...@@ -7538,7 +7538,7 @@ package body Exp_Ch7 is
Attribute_Name => Name_Unrestricted_Access))); Attribute_Name => Name_Unrestricted_Access)));
-- In the case of build-in-place functions, protect the call to ensure -- In the case of build-in-place functions, protect the call to ensure
-- we have a master at runtime. Generate: -- we have a master at run time. Generate:
-- if <Ptr_Typ>FM /= null then -- if <Ptr_Typ>FM /= null then
-- <Call>; -- <Call>;
......
...@@ -612,11 +612,11 @@ package body Alfa is ...@@ -612,11 +612,11 @@ package body Alfa is
when Overloadable_Kind => when Overloadable_Kind =>
return Typ = 's'; return Typ = 's';
-- References to IN parameters are not considered in Alfa -- References to IN parameters and constants are not
-- section, as these will be translated as constants in the -- considered in Alfa section, as these will be translated
-- intermediate language for formal verification. -- as constants in the intermediate language for formal
-- verification, and should therefore never appear in frame
-- Above comment is incomplete??? what about E_Constant case -- conditions.
when E_In_Parameter | E_Constant => when E_In_Parameter | E_Constant =>
return False; return False;
......
...@@ -7145,7 +7145,7 @@ package body Sem_Res is ...@@ -7145,7 +7145,7 @@ package body Sem_Res is
return Res; return Res;
end Convert_Operand; end Convert_Operand;
-- Start of processing for Resolve_Intrinsic_Operator -- Start of processing for Resolve_Intrinsic_Operator
begin begin
-- We must preserve the original entity in a generic setting, so that -- We must preserve the original entity in a generic setting, so that
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment