[m-rev.] for preliminary review: bug 493 & 532 alterative fix

Zoltan Somogyi zoltan.somogyi at runbox.com
Sat May 15 12:33:48 AEST 2021


2021-05-14 16:40 GMT+10:00 "Peter Wang" <novalazy at gmail.com>:
>     diff --git a/a/stage2/compiler/hlds.make_hlds.state_var.c b/b/stage2/compiler/hlds.make_hlds.state_var.c
>     index 4ea6cc0..65c167e 100644
>     --- a/a/stage2/compiler/hlds.make_hlds.state_var.c
>     +++ b/b/stage2/compiler/hlds.make_hlds.state_var.c
>     ...
>     @@ -1263,12 +1263,6 @@ static /* final */ const MR_Box hlds__make_hlds__state_var_scalar_common_2[6][3]
> 	 ((MR_Box) ((MR_Unsigned) 0U)),
> 	 ((MR_Box) ((MR_Unsigned) 0U))
>        },
>     -  /* row 5 */
>     -  {
>     -    ((MR_Box) (((MR_Box) ((MR_Integer) 1)))),
>     -    ((MR_Box) ((MR_Unsigned) 0U)),
>     -    ((MR_Box) ((MR_Unsigned) 0U))
>     -  },
>      };

What options did you use to generate the code in this diff?
I ask because my attempts to reproduce it have failed,
and of course I cannot find the cause of the duplication
without being able to see the duplication.

Zoltan.


More information about the reviews mailing list