aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixed-value.c
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2021-03-08 15:39:26 +0000
committerPhilip Herron <herron.philip@googlemail.com>2021-03-09 18:18:35 +0000
commit6212572b23ccaaf355ab8376d3f5affec334b797 (patch)
treeea8369f2698c26f7663fde54125ab28ef04334d9 /gcc/fixed-value.c
parent99980cbb5efdaa935d841b4e523ea758568b1827 (diff)
downloadgcc-6212572b23ccaaf355ab8376d3f5affec334b797.zip
gcc-6212572b23ccaaf355ab8376d3f5affec334b797.tar.gz
gcc-6212572b23ccaaf355ab8376d3f5affec334b797.tar.bz2
Introduce TyCtx wrapper over TyTy Types with elements than can change.
ArrayTypes for example can have an inference variable for an element type which requires the Type system to lookup what type it is when requested. TyCtx acts as this wrapper that takes an HirId reference that cleans up the code for ArrayTypes, ReferenceTypes and TupleTypes where elements can be inference variables.
Diffstat (limited to 'gcc/fixed-value.c')
0 files changed, 0 insertions, 0 deletions