• Russ Cox's avatar
    cmd/gc: simplify code for c2go · e82003e7
    Russ Cox authored
    - Change forward reference to struct Node* to void* in liblink.
    - Use explicit (Node*) casts in cmd/gc to get at that field.
    - Define struct Array in go.h instead of hiding it in array.c.
    - Remove some sizeof(uint32), sizeof(uint64) uses.
    - Remove some ? : expressions.
    - Rewrite some problematic mid-expression assignments.
    
    Change-Id: I308c70140238a0cfffd90e133f86f442cd0e17d4
    Reviewed-on: https://go-review.googlesource.com/3276Reviewed-by: 's avatarRob Pike <r@golang.org>
    e82003e7
bv.c 3.68 KB