Zoltan Somogyi
c5b35aca5f
Fix the declarations of builtin proc layouts.
...
This should fix Mantis bug #514 .
runtime/mercury_builtin_types_proc_layouts.h:
Fix the first problem: refer to four type constructors defined
in private_builtin.m by their correct arities, so that the proc layout
structures we generate for their unify and compare predicates
get generated with the correct names and contents.
The arities were probably correct when the code was written;
we changed them from 1 to 0 at some point, and simply forgot
to update all the affected places.
runtime/mercury_stack_layout.h:
Fix the second problem: add "extern" to the declarations of those
proc layout structures. Without the "extern", compilers defaulting
the -fcommon will place these structures into common storage,
which can be used as *definitions*. With the "extern", compilers
should do the right thing whether or not they default to -fcommon.
runtime/mercury_unify_compare_body.h:
Conform to the change in mercury_builtin_types_proc_layouts.h:
refer to the affected four types using the correct arities.
2020-07-24 17:14:07 +10:00
..
2018-06-09 17:43:12 +10:00
2012-09-04 11:42:53 +00:00
2013-10-02 20:54:06 +10:00
2018-08-02 14:45:42 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2020-07-24 17:14:07 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2020-04-11 19:30:58 +10:00
2019-06-08 14:06:53 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2020-04-20 12:41:45 +10:00
2020-02-18 13:07:24 +11:00
2018-07-23 10:26:29 +10:00
2018-06-09 17:43:12 +10:00
2018-09-09 12:33:26 +10:00
2018-08-30 05:14:38 +10:00
2018-08-30 05:14:38 +10:00
2018-06-09 17:43:12 +10:00
2018-08-30 05:14:38 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2019-10-08 21:36:11 +11:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-11-19 12:37:36 +11:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-10-09 05:27:36 +00:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2019-10-08 21:36:11 +11:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2019-06-10 13:30:49 +10:00
2019-06-10 13:30:49 +10:00
2019-06-10 13:30:49 +10:00
2020-01-20 15:24:19 +11:00
2018-06-09 17:43:12 +10:00
2020-04-28 13:36:58 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-10 14:47:20 +10:00
2018-06-09 17:43:12 +10:00
2019-06-08 16:40:24 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2020-04-11 19:30:58 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2020-04-28 10:55:18 +10:00
2020-04-28 10:55:18 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-11 11:50:15 +10:00
2018-06-09 17:43:12 +10:00
2018-08-19 12:19:19 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-10-09 05:27:36 +00:00
2018-06-09 17:43:12 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-08-30 05:14:38 +10:00
2018-08-30 05:14:38 +10:00
2018-09-16 16:23:16 +10:00
2018-08-30 05:14:38 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-09-11 10:55:30 +10:00
2018-09-11 10:55:30 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-07-23 10:26:29 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-10-09 05:27:36 +00:00
2018-07-23 10:26:29 +10:00
2020-07-24 17:14:07 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-07-23 10:26:29 +10:00
2018-06-09 17:43:12 +10:00
2019-12-03 12:38:02 +11:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2019-09-13 15:51:02 +10:00
2019-10-30 11:21:02 +11:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-30 05:14:38 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-30 05:14:38 +10:00
2018-06-09 17:43:12 +10:00
2020-04-28 13:36:58 +10:00
2018-08-30 05:14:38 +10:00
2018-06-09 17:43:12 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-10-09 05:27:36 +00:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-11-29 06:01:42 +00:00
2018-07-23 10:26:29 +10:00
2018-06-09 17:43:12 +10:00
2020-01-17 17:09:49 +11:00
2018-06-09 17:43:12 +10:00
2020-02-18 13:07:24 +11:00
2020-02-18 13:07:24 +11:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-30 05:14:38 +10:00
2018-11-19 12:37:36 +11:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2020-07-24 17:14:07 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2020-05-30 23:13:42 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2020-03-15 17:05:47 +11:00
2018-06-09 17:43:12 +10:00
2019-06-10 13:30:49 +10:00
2019-06-10 13:30:49 +10:00
2019-06-10 13:30:43 +10:00