Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Ocarina
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
TASTE
Ocarina
Commits
967045c9
Commit
967045c9
authored
Aug 16, 2013
by
yoogx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Minor reformatting
parent
ad6b5a38
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
src/backends/ocarina-backends-utils.adb
src/backends/ocarina-backends-utils.adb
+8
-5
No files found.
src/backends/ocarina-backends-utils.adb
View file @
967045c9
...
...
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2005-2009 Telecom ParisTech, 2010-201
2
ESA & ISAE. --
-- Copyright (C) 2005-2009 Telecom ParisTech, 2010-201
3
ESA & ISAE. --
-- --
-- Ocarina is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
...
...
@@ -1433,12 +1433,13 @@ package body Ocarina.Backends.Utils is
-----------------------------------
function
Map_Ada_Subprogram_Identifier
(
E
:
Node_Id
)
return
Node_Id
is
pragma
Assert
(
Is_Thread
(
E
)
or
else
Is_Subprogram
(
E
)
or
else
Kind
(
E
)
=
K_Port_Spec_Instance
);
Spg_Name
:
Name_Id
;
begin
pragma
Assert
(
Is_Thread
(
E
)
or
else
Is_Subprogram
(
E
)
or
else
Kind
(
E
)
=
K_Port_Spec_Instance
);
begin
if
Is_Subprogram
(
E
)
and
then
Get_Source_Language
(
E
)
/=
Language_Ada_95
then
...
...
@@ -1451,8 +1452,10 @@ package body Ocarina.Backends.Utils is
if
Is_Subprogram
(
E
)
then
Spg_Name
:=
Get_Source_Name
(
E
);
elsif
Is_Thread
(
E
)
then
Spg_Name
:=
Get_Thread_Compute_Entrypoint
(
E
);
else
Spg_Name
:=
Get_Port_Compute_Entrypoint
(
E
);
end
if
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment