Fergus Henderson
a76b0eeb42
Fix a bug introduced by petdr's Dec 2 bug fix which introduced wrapper
...
Estimated hours taken: 3
Branches: main
Fix a bug introduced by petdr's Dec 2 bug fix which introduced wrapper
functions for unify and compare procs to unbox their arguments,
which caused the tests/valid/unify_typeinfo_bug test case to fail.
The bug was that with --no-special-preds, we were generating invalid
MLDS code, because the code to introduce wrapper functions assumed
that the function being wrapped was defined in the same module,
but with --no-special-preds, the procedure being wrapped is always
private_builtin.unused/0.
In the case of a procedure with arity zero, the wrapper is not needed
(it's just a tail call), so the simplest fix was to just optimize
that case.
compiler/rtti_to_mlds.m:
If the procedure being wrapped has arity zero, don't bother to
generate a wrapper function, since it is not needed.
2003-12-11 02:55:54 +00:00
..
2003-12-10 07:09:34 +00:00
2003-12-02 09:16:50 +00:00
2003-10-24 06:17:51 +00:00
2003-10-24 06:17:51 +00:00
2003-12-01 15:56:15 +00:00
2003-10-31 03:27:39 +00:00
2003-10-31 03:27:39 +00:00
2003-12-03 16:12:10 +00:00
2003-12-01 15:56:15 +00:00
2003-10-23 02:02:45 +00:00
2003-11-11 03:35:13 +00:00
2003-10-20 07:29:59 +00:00
2003-12-01 15:56:15 +00:00
2003-11-14 01:06:03 +00:00
2003-11-05 03:17:49 +00:00
2003-10-31 03:27:39 +00:00
2003-10-27 05:42:37 +00:00
2003-10-31 03:27:39 +00:00
2003-12-01 15:56:15 +00:00
2003-10-27 06:00:50 +00:00
2003-12-04 21:34:59 +00:00
2003-11-28 02:23:07 +00:00
2003-10-24 06:17:51 +00:00
2003-11-05 03:17:49 +00:00
2003-10-31 03:27:39 +00:00
2003-11-05 03:17:49 +00:00
2003-10-31 03:27:39 +00:00
2003-11-28 02:23:07 +00:00
2003-10-24 06:17:51 +00:00
2003-10-27 05:42:37 +00:00
2003-12-01 15:56:15 +00:00
2003-10-31 03:27:39 +00:00
2003-10-31 03:27:39 +00:00
2003-10-27 05:42:37 +00:00
2003-12-01 15:56:15 +00:00
2003-11-11 03:35:13 +00:00
2003-12-01 15:56:15 +00:00
2003-12-01 15:56:15 +00:00
2003-10-24 06:17:51 +00:00
2003-12-01 15:56:15 +00:00
2003-10-20 07:29:59 +00:00
2003-11-05 03:17:49 +00:00
2003-10-24 06:17:51 +00:00
2003-10-24 06:17:51 +00:00
2003-11-11 03:35:13 +00:00
2003-12-01 15:56:15 +00:00
2003-10-20 07:29:59 +00:00
2003-10-24 06:17:51 +00:00
2003-11-28 02:23:07 +00:00
2003-12-01 15:56:15 +00:00
2003-12-01 15:56:15 +00:00
2003-12-01 15:56:15 +00:00
2003-12-01 15:56:15 +00:00
2003-11-05 03:17:49 +00:00
2003-11-05 03:17:49 +00:00
2003-12-03 16:12:10 +00:00
2003-12-03 16:12:10 +00:00
2003-11-12 16:15:53 +00:00
2003-11-11 03:23:26 +00:00
2003-12-05 04:18:32 +00:00
2003-10-31 03:27:39 +00:00
2003-12-01 15:56:15 +00:00
2003-12-03 16:12:10 +00:00
2003-10-27 05:42:37 +00:00
2003-11-11 03:35:13 +00:00
2003-10-31 03:27:39 +00:00
2003-11-11 03:35:13 +00:00
2003-11-11 03:35:13 +00:00
2003-11-05 03:17:49 +00:00
2003-10-20 07:29:59 +00:00
2003-11-14 01:06:03 +00:00
2003-10-20 07:29:59 +00:00
2003-10-27 05:42:37 +00:00
2003-10-31 03:27:39 +00:00
2003-12-09 04:19:18 +00:00
2003-12-01 15:56:15 +00:00
2003-11-05 03:17:49 +00:00
2003-12-02 10:02:07 +00:00
2003-12-01 15:56:15 +00:00
2003-10-24 06:17:51 +00:00
2003-12-09 12:58:29 +00:00
2003-12-01 15:56:15 +00:00
2003-10-27 05:42:37 +00:00
2003-12-01 15:56:15 +00:00
2003-11-05 09:01:32 +00:00
2003-12-01 22:31:36 +00:00
2003-12-03 16:12:10 +00:00
2003-10-31 03:27:39 +00:00
2003-12-01 06:53:29 +00:00
2003-12-01 06:53:29 +00:00
2003-10-27 05:42:37 +00:00
2003-11-28 08:51:32 +00:00
2003-12-01 06:53:29 +00:00
2003-12-01 06:53:29 +00:00
2003-12-01 06:53:29 +00:00
2003-12-01 06:53:29 +00:00
2003-12-03 08:22:24 +00:00
2003-11-12 16:15:53 +00:00
2003-12-02 10:02:07 +00:00
2003-11-13 15:08:22 +00:00
2003-12-05 04:19:30 +00:00
2003-12-10 07:04:24 +00:00
2003-11-06 03:42:36 +00:00
2003-11-06 03:42:36 +00:00
2003-11-06 03:42:36 +00:00
2003-11-05 03:17:49 +00:00
2003-11-06 03:42:36 +00:00
2003-11-06 03:42:36 +00:00
2003-11-06 03:42:36 +00:00
2003-12-01 15:56:15 +00:00
2003-12-01 15:56:15 +00:00
2003-12-01 06:53:29 +00:00
2003-10-20 07:29:59 +00:00
2003-10-23 02:02:45 +00:00
2003-10-27 05:42:37 +00:00
2003-12-01 15:56:15 +00:00
2003-11-05 03:17:49 +00:00
2003-11-05 03:17:49 +00:00
2003-12-01 15:56:15 +00:00
2003-10-24 06:17:51 +00:00
2003-11-05 03:17:49 +00:00
2003-11-28 02:23:07 +00:00
2003-11-11 03:35:13 +00:00
2003-12-01 15:56:15 +00:00
2003-12-01 15:56:15 +00:00
2003-11-05 03:17:49 +00:00
2003-12-01 15:56:15 +00:00
2003-10-31 03:27:39 +00:00
2003-10-31 03:27:39 +00:00
2003-12-01 15:56:15 +00:00
2003-11-05 03:17:49 +00:00
2003-10-31 03:27:39 +00:00
2003-12-01 15:56:15 +00:00
2003-11-05 03:17:49 +00:00
2003-10-23 02:02:45 +00:00
2003-10-31 03:27:39 +00:00
2003-11-11 03:23:26 +00:00
2003-11-11 03:35:13 +00:00
2003-12-01 15:56:15 +00:00
2003-12-01 15:56:15 +00:00
2003-10-24 06:17:51 +00:00
2003-12-01 15:56:15 +00:00
2003-11-05 03:17:49 +00:00
2003-11-05 03:17:49 +00:00
2003-11-05 03:17:49 +00:00
2003-11-05 03:17:49 +00:00
2003-12-01 15:56:15 +00:00
2003-11-05 03:17:49 +00:00
2003-12-01 15:56:15 +00:00
2003-10-24 06:17:51 +00:00
2003-11-05 03:17:49 +00:00
2003-11-05 03:17:49 +00:00
2003-11-05 03:17:49 +00:00
2003-11-05 03:17:49 +00:00
2003-12-01 15:56:15 +00:00
2003-11-05 03:17:49 +00:00
2003-11-05 03:17:49 +00:00
2003-11-28 02:23:07 +00:00
2003-11-11 03:35:13 +00:00
2003-12-11 02:55:54 +00:00
2003-12-01 13:16:53 +00:00
2003-10-24 06:17:51 +00:00
2003-12-01 15:56:15 +00:00
2003-12-01 15:56:15 +00:00
2003-11-20 11:35:43 +00:00
2003-10-24 06:17:51 +00:00
2003-10-22 08:50:15 +00:00
2003-10-24 06:17:51 +00:00
2003-10-20 07:29:59 +00:00
2003-10-24 06:17:51 +00:00
2003-10-24 06:17:51 +00:00
2003-10-27 05:42:37 +00:00
2003-10-31 03:27:39 +00:00
2003-10-27 05:42:37 +00:00
2003-10-27 05:42:37 +00:00
2003-10-31 03:27:39 +00:00
2003-11-05 03:17:49 +00:00
2003-11-05 03:17:49 +00:00
2003-12-08 03:42:16 +00:00
2003-11-05 03:17:49 +00:00
2003-11-05 03:17:49 +00:00
2003-12-08 03:42:16 +00:00
2003-10-31 03:27:39 +00:00
2003-11-05 03:17:49 +00:00
2003-11-03 18:14:51 +00:00
2003-10-27 05:42:37 +00:00
2003-12-01 15:56:15 +00:00
2003-11-12 17:06:52 +00:00
2003-11-06 03:42:36 +00:00
2003-10-24 06:17:51 +00:00
2003-11-28 20:40:13 +00:00
2003-12-01 15:56:15 +00:00
2003-11-28 20:40:13 +00:00
2003-11-06 20:14:28 +00:00
2003-12-01 15:56:15 +00:00
2003-12-01 15:56:15 +00:00
2003-11-05 03:17:49 +00:00
2003-11-05 03:17:49 +00:00
2003-11-11 03:35:13 +00:00
2003-11-13 09:51:23 +00:00