Lines 2526-2533
Link Here
|
2526 |
(*Format.printf "Done Merging current@.";*) |
2526 |
(*Format.printf "Done Merging current@.";*) |
2527 |
|
2527 |
|
2528 |
if not degenerate && |
2528 |
if not degenerate && |
2529 |
not (Db.Value.Record_Value_Callbacks.is_empty ()) |
2529 |
((not (Db.Value.Record_Value_Callbacks.is_empty ())) || |
|
|
2530 |
(not (Db.Value.Record_Value_Superposition_Callbacks.is_empty ()))) |
2530 |
then begin |
2531 |
then begin |
|
|
2532 |
let stack_for_callbacks = for_callbacks_stack () in |
2533 |
|
2534 |
if not (Db.Value.Record_Value_Callbacks.is_empty ()) |
2535 |
then begin |
2536 |
let current_superpositions = InstrHashtbl.create 17 in |
2537 |
InstrHashtbl.iter |
2538 |
(fun k record -> |
2539 |
InstrHashtbl.add current_superpositions k record.superposition) |
2540 |
current_table; |
2541 |
|
2542 |
(* Format.printf "[values] now calling Record_Value_Superposition callbacks@."; *) |
2543 |
Db.Value.Record_Value_Superposition_Callbacks.apply |
2544 |
(stack_for_callbacks, current_superpositions); |
2545 |
|
2546 |
end ; |
2547 |
if not (Db.Value.Record_Value_Callbacks.is_empty ()) |
2548 |
then begin |
2531 |
(* Format.printf "[values] now calling Record_Value callbacks@."; *) |
2549 |
(* Format.printf "[values] now calling Record_Value callbacks@."; *) |
2532 |
|
2550 |
|
2533 |
let current_states = InstrHashtbl.create 17 in |
2551 |
let current_states = InstrHashtbl.create 17 in |
Lines 2537-2543
Link Here
|
2537 |
current_table; |
2555 |
current_table; |
2538 |
|
2556 |
|
2539 |
Db.Value.Record_Value_Callbacks.apply |
2557 |
Db.Value.Record_Value_Callbacks.apply |
2540 |
((for_callbacks_stack ()), current_states); |
2558 |
(stack_for_callbacks, current_states); |
|
|
2559 |
end |
2541 |
end; |
2560 |
end; |
2542 |
InstrHashtbl.clear current_table; |
2561 |
InstrHashtbl.clear current_table; |
2543 |
|
2562 |
|