@@ -83,8 +83,8 @@ void goto_trace_stept::output(
83
83
84
84
if (is_assert () || is_assume () || is_goto ())
85
85
out << " (" << cond_value << ' )' ;
86
- else if (is_function_call () || is_function_return () )
87
- out << ' ' << function_identifier ;
86
+ else if (is_function_call ())
87
+ out << ' ' << called_function ;
88
88
89
89
if (hidden)
90
90
out << " hidden" ;
@@ -344,8 +344,7 @@ void show_full_goto_trace(
344
344
out << " " << messaget::red << step.comment << messaget::reset << ' \n ' ;
345
345
346
346
if (step.pc ->is_assert ())
347
- out << " " << from_expr (ns, step.pc ->function , step.pc ->guard )
348
- << ' \n ' ;
347
+ out << " " << from_expr (ns, step.function , step.pc ->guard ) << ' \n ' ;
349
348
350
349
out << ' \n ' ;
351
350
}
@@ -360,8 +359,7 @@ void show_full_goto_trace(
360
359
out << " " << step.pc ->source_location << ' \n ' ;
361
360
362
361
if (step.pc ->is_assume ())
363
- out << " " << from_expr (ns, step.pc ->function , step.pc ->guard )
364
- << ' \n ' ;
362
+ out << " " << from_expr (ns, step.function , step.pc ->guard ) << ' \n ' ;
365
363
366
364
out << ' \n ' ;
367
365
}
@@ -431,7 +429,8 @@ void show_full_goto_trace(
431
429
{
432
430
if (l_it!=step.io_args .begin ())
433
431
out << ' ;' ;
434
- out << ' ' << from_expr (ns, step.pc ->function , *l_it);
432
+
433
+ out << ' ' << from_expr (ns, step.function , *l_it);
435
434
436
435
// the binary representation
437
436
out << " (" << trace_numeric_value (*l_it, ns, options) << ' )' ;
@@ -453,7 +452,8 @@ void show_full_goto_trace(
453
452
{
454
453
if (l_it!=step.io_args .begin ())
455
454
out << ' ;' ;
456
- out << ' ' << from_expr (ns, step.pc ->function , *l_it);
455
+
456
+ out << ' ' << from_expr (ns, step.function , *l_it);
457
457
458
458
// the binary representation
459
459
out << " (" << trace_numeric_value (*l_it, ns, options) << ' )' ;
@@ -466,7 +466,7 @@ void show_full_goto_trace(
466
466
function_depth++;
467
467
if (options.show_function_calls )
468
468
{
469
- out << " \n #### Function call: " << step.function_identifier ;
469
+ out << " \n #### Function call: " << step.called_function ;
470
470
out << ' (' ;
471
471
472
472
bool first = true ;
@@ -477,7 +477,7 @@ void show_full_goto_trace(
477
477
else
478
478
out << " , " ;
479
479
480
- out << from_expr (ns, step.function_identifier , arg);
480
+ out << from_expr (ns, step.function , arg);
481
481
}
482
482
483
483
out << " ) (depth " << function_depth << " ) ####\n " ;
@@ -488,8 +488,8 @@ void show_full_goto_trace(
488
488
function_depth--;
489
489
if (options.show_function_calls )
490
490
{
491
- out << " \n #### Function return: " << step.function_identifier
492
- << " (depth " << function_depth << " ) ####\n " ;
491
+ out << " \n #### Function return from " << step.function << " (depth "
492
+ << function_depth << " ) ####\n " ;
493
493
}
494
494
break ;
495
495
@@ -561,7 +561,7 @@ void show_goto_stack_trace(
561
561
}
562
562
else if (step.is_function_call ())
563
563
{
564
- out << " " << step.function_identifier ;
564
+ out << " " << step.called_function ;
565
565
out << ' (' ;
566
566
567
567
bool first = true ;
@@ -572,7 +572,7 @@ void show_goto_stack_trace(
572
572
else
573
573
out << " , " ;
574
574
575
- out << from_expr (ns, step.function_identifier , arg);
575
+ out << from_expr (ns, step.function , arg);
576
576
}
577
577
578
578
out << ' )' ;
0 commit comments