Mercurial > hg > Papers > 2010 > kent-master
diff sources/build-code-segment.cbc @ 1:aa09c34b90d3
add quicksort_for_pcc
add sources, figures.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 01 Feb 2010 20:37:36 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/build-code-segment.cbc Mon Feb 01 20:37:36 2010 +0900 @@ -0,0 +1,6 @@ +if (is_code_segment) + t1 = build_code_segment_type (valtype, TYPE_ARG_TYPES (t2)); +else + t1 = build_function_type (valtype, TYPE_ARG_TYPES (t2)); +t1 = build_type_attribute_variant (t1, attributes); +return qualify_type (t1, t2);