File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ int main(int argc, char** argv) {
2929 // `heap` gets passed in `rdi`
3030 // (defined by the calling convention, not up to us!)
3131 int64_t result = entry (heap );
32+ // See if we need to print the initial tick
3233 if (cons_type_tag == (ptr_type_mask & result )) printf ("'" );
3334 print_result (result );
3435 if (result != val_void ) printf ("\n" );
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ int main(int argc, char** argv) {
2626 error_handler = & error_exit ;
2727 heap = malloc (8 * heap_size );
2828 int64_t result = entry (heap );
29+ // See if we need to print the initial tick
30+ if (cons_type_tag == (ptr_type_mask & result )) printf ("'" );
2931 print_result (result );
3032 if (result != val_void ) printf ("\n" );
3133 free (heap );
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ int main(int argc, char** argv) {
2626 error_handler = & error_exit ;
2727 heap = malloc (8 * heap_size );
2828 int64_t result = entry (heap );
29+ // See if we need to print the initial tick
30+ if (cons_type_tag == (ptr_type_mask & result )) printf ("'" );
2931 print_result (result );
3032 if (result != val_void ) printf ("\n" );
3133 free (heap );
Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ int main(int argc, char** argv) {
2626 error_handler = & error_exit ;
2727 heap = malloc (8 * heap_size );
2828 int64_t result = entry (heap );
29+ // See if we need to print the initial tick
30+ if (cons_type_tag == (ptr_type_mask & result )) printf ("'" );
2931 print_result (result );
3032 if (result != val_void ) printf ("\n" );
3133 free (heap );
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ void print_codepoint(int64_t);
1818int main (int argc , char * * argv ) {
1919 void * heap = malloc (heap_size );
2020 int64_t result = entry (heap );
21+ // See if we need to print the initial tick
22+ if (cons_type_tag == (ptr_type_mask & result )) printf ("'" );
2123 print_result (result );
2224 printf ("\n" );
2325 return 0 ;
You can’t perform that action at this time.
0 commit comments