@@ -266,8 +266,7 @@ typedef struct {
266
266
typedef struct ref_block ref_block_t ;
267
267
268
268
struct ref_block_list {
269
- ref_block_t * head ;
270
- ref_block_t * tail ;
269
+ ref_block_t * head , * tail ;
271
270
};
272
271
273
272
typedef struct ref_block_list ref_block_list_t ;
@@ -276,8 +275,7 @@ typedef struct insn insn_t;
276
275
277
276
typedef struct use_chain_node {
278
277
insn_t * insn ;
279
- struct use_chain_node * next ;
280
- struct use_chain_node * prev ;
278
+ struct use_chain_node * next , * prev ;
281
279
} use_chain_t ;
282
280
283
281
typedef struct var var_t ;
@@ -306,8 +304,7 @@ struct var {
306
304
int subscripts_idx ;
307
305
rename_t rename ;
308
306
ref_block_list_t ref_block_list ; /* blocks which kill variable */
309
- use_chain_t * users_head ;
310
- use_chain_t * users_tail ;
307
+ use_chain_t * users_head , * users_tail ;
311
308
struct insn * last_assign ;
312
309
int consumed ;
313
310
bool is_ternary_ret ;
@@ -408,8 +405,7 @@ struct phi_operand {
408
405
typedef struct phi_operand phi_operand_t ;
409
406
410
407
struct insn {
411
- struct insn * next ;
412
- struct insn * prev ;
408
+ struct insn * next , * prev ;
413
409
int idx ;
414
410
opcode_t opcode ;
415
411
var_t * rd ;
@@ -423,13 +419,11 @@ struct insn {
423
419
};
424
420
425
421
typedef struct {
426
- insn_t * head ;
427
- insn_t * tail ;
422
+ insn_t * head , * tail ;
428
423
} insn_list_t ;
429
424
430
425
typedef struct {
431
- ph2_ir_t * head ;
432
- ph2_ir_t * tail ;
426
+ ph2_ir_t * head , * tail ;
433
427
} ph2_ir_list_t ;
434
428
435
429
typedef enum { NEXT , ELSE , THEN } bb_connection_type_t ;
@@ -448,8 +442,7 @@ struct symbol {
448
442
typedef struct symbol symbol_t ;
449
443
450
444
typedef struct {
451
- symbol_t * head ;
452
- symbol_t * tail ;
445
+ symbol_t * head , * tail ;
453
446
} symbol_list_t ;
454
447
455
448
struct basic_block {
@@ -519,8 +512,7 @@ struct func {
519
512
};
520
513
521
514
typedef struct {
522
- func_t * head ;
523
- func_t * tail ;
515
+ func_t * head , * tail ;
524
516
} func_list_t ;
525
517
526
518
typedef struct {
0 commit comments