(0000562)
|
wangp
|
2013-09-03 15:31
|
|
Rather, it has to do the inst of the static type_info when --const-struct is enabled. That --optimise-constant-propagation (and the predicate const_prop.eval_unify) breaks the program seems to be a symptom.
I suspect commit ee63cb8d, specifically these lines in polymorphism.m:
StructType = type_info_type,
list.length(ArgTypeInfoConstArgs, NumArgs),
InstConsId = cell_inst_cons_id(Cell, NumArgs),
StructInst = bound(shared, inst_test_results_fgtc,
[bound_functor(InstConsId, StructArgInsts)]),
the NumArgs argument to cell_inst_cons_id. |
|