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
C
compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
17
Issues
17
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
clean-compiler-and-rts
compiler
Commits
a22251cc
Commit
a22251cc
authored
Oct 18, 2001
by
John van Groningen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make source clean 2.0 compatible
parent
6b843949
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
frontend/generics.icl
frontend/generics.icl
+4
-14
No files found.
frontend/generics.icl
View file @
a22251cc
...
...
@@ -956,16 +956,6 @@ where
ds_index
=
to_fun_index
,
ds_arity
=
1
}
#
gtd_info
=
GTDI_Generic
{
gt_type
=
generic_rep_type
,
gt_type_args
=
[
atv_variable
\\
{
atv_variable
}
<-
type_def
.
td_args
],
gt_iso
=
iso_def_sym
,
gt_isomap_group
=
NoIndex
,
gt_isomap
=
EmptyDefinedSymbol
,
gt_isomap_from
=
EmptyDefinedSymbol
,
gt_isomap_to
=
EmptyDefinedSymbol
}
#
(
from_fun_def
,
gs
)
=
buildIsoFrom
from_def_sym
from_group_index
module_index
type_def
gs
#
(
to_fun_def
,
gs
)
=
buildIsoTo
to_def_sym
to_group_index
module_index
type_def
cons_infos
gs
...
...
@@ -1362,9 +1352,9 @@ where
#!
instance_defs
=
{
instance_defs
&
[
instance_index
]
=
instance_def
}
#
(
dcl_fun_index
,
gs
)
=
get_dcl_member_index
instance_index
gs
with
get_dcl_member_index
icl_instance_index
gs
=:{
gs_
dcl_modules
,
gs_
main_dcl_module_n
}
#
({
dcl_conversions
,
dcl_common
},
gs_dcl_modules
)
=
gs_dcl_modules
![
gs_main_dcl_module_n
]
#
gs
=
{
gs
&
gs_dcl_modules
=
gs_dcl_modules
}
get_dcl_member_index
icl_instance_index
gs
=:{
gs_main_dcl_module_n
}
// # ({
dcl_common}, gs_dcl_modules) = gs_dcl_modules![gs_main_dcl_module_n]
//
# gs = {gs & gs_dcl_modules = gs_dcl_modules}
// # dcl_index = case dcl_conversions of
#
dcl_index
=
NoIndex
/*
...
...
@@ -1717,7 +1707,7 @@ where
#!
gs_fun_defs
=
{
gs_fun_defs
&
[
fun_index
]
=
fun_def
}
// update corresponding DCL function type, which is empty at the moment
#!
({
dcl_conversions
},
gs_dcl_modules
)
=
gs_dcl_modules
!
[
gs_main_dcl_module_n
]
// #! (
gs_dcl_modules) = gs_dcl_modules ! [gs_main_dcl_module_n]
#!
(
dcl_fun_index
,
gs_opt_dcl_icl_conversions
)
=
find_dcl_fun_index
fun_index
gs_opt_dcl_icl_conversions
// XXX
with
...
...
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