d: Remove the expansion of intrinsic and built-in codes from the DEF_D_INTRINSIC...
authorIain Buclaw <ibuclaw@gdcproject.org>
Fri, 5 Feb 2021 11:47:23 +0000 (12:47 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Fri, 5 Feb 2021 17:27:49 +0000 (18:27 +0100)
commit28c7a463e3c38dde206cd077383cd90b6c3b7d2c
treeebbe23cd6724d4466e22f88593cac21fa2454c04
parent7a18bc4ae62081021f4fd90d591a588cac931f77
d: Remove the expansion of intrinsic and built-in codes from the DEF_D_INTRINSIC macro

Instead, the full name of these codes are explicitly given in
intrinsics.def, to make it clear what these values map to.

gcc/d/ChangeLog:

* d-tree.h (DEF_D_INTRINSIC): Don't insert INTRINSIC_ into the
intrinsic code name.
* intrinsics.cc (DEF_D_INTRINSIC): Don't insert INTRISIC_ and
BUILT_IN_ into the intrinsic and built-in code names.
* intrinsics.def:  Explicitly use full intrinsic and built-in
codes in all definitions.
gcc/d/d-tree.h
gcc/d/intrinsics.cc
gcc/d/intrinsics.def