aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/d-tree.h
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2021-02-05 12:47:23 +0100
committerIain Buclaw <ibuclaw@gdcproject.org>2021-02-05 18:27:49 +0100
commit28c7a463e3c38dde206cd077383cd90b6c3b7d2c (patch)
treeebbe23cd6724d4466e22f88593cac21fa2454c04 /gcc/d/d-tree.h
parent7a18bc4ae62081021f4fd90d591a588cac931f77 (diff)
downloadgcc-28c7a463e3c38dde206cd077383cd90b6c3b7d2c.zip
gcc-28c7a463e3c38dde206cd077383cd90b6c3b7d2c.tar.gz
gcc-28c7a463e3c38dde206cd077383cd90b6c3b7d2c.tar.bz2
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.
Diffstat (limited to 'gcc/d/d-tree.h')
-rw-r--r--gcc/d/d-tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/d/d-tree.h b/gcc/d/d-tree.h
index c41969e..724a0bf 100644
--- a/gcc/d/d-tree.h
+++ b/gcc/d/d-tree.h
@@ -80,7 +80,7 @@ enum level_kind
enum intrinsic_code
{
-#define DEF_D_INTRINSIC(CODE, B, N, M, D, C) INTRINSIC_ ## CODE,
+#define DEF_D_INTRINSIC(CODE, B, N, M, D, C) CODE,
#include "intrinsics.def"