diff options
author | johnvg | 2011-03-17 15:50:27 +0000 |
---|---|---|
committer | johnvg | 2011-03-17 15:50:27 +0000 |
commit | d9b7ea361dce153cbe189c5854a06a833c9c9ddb (patch) | |
tree | 380abfa8dc677e537d0c8260bf918a126ca4d53a /frontend/checkgenerics.icl | |
parent | remove shorthand and iso functions from generic ranges, (diff) |
pass generic info only to instances for OBJECT, CONS and FIELD,
call instance functions for OBJECT, CONS and FIELD directly, with generic info
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1881 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/checkgenerics.icl')
-rw-r--r-- | frontend/checkgenerics.icl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/checkgenerics.icl b/frontend/checkgenerics.icl index ff86927..1615d32 100644 --- a/frontend/checkgenerics.icl +++ b/frontend/checkgenerics.icl @@ -44,6 +44,7 @@ where # initial_info = { gen_classes = createArray 32 [] , gen_var_kinds = [] + , gen_OBJECT_CONS_FIELD_indices = createArray 3 {ocf_module = -1,ocf_index = -1,ocf_ident={id_name="",id_info=nilPtr}} } # (gen_info_ptr, hp_generic_heap) = newPtr initial_info hp_generic_heap = ( {gen_def & gen_info_ptr = gen_info_ptr}, |