summaryrefslogtreecommitdiff
path: root/cgcode.c
diff options
context:
space:
mode:
authorJohn van Groningen2006-11-29 15:47:47 +0000
committerJohn van Groningen2006-11-29 15:47:47 +0000
commitf2015a78790332a9fb7b6a3b914bc719e3b5d3d3 (patch)
tree0b86b85d3e786c1df5da82b89d4b791a35c8eb19 /cgcode.c
parentadd makefile for 64 bit linux (diff)
use dINT instead of INT for eq_desc_b to work around problem with the
microsoft assembler
Diffstat (limited to 'cgcode.c')
-rw-r--r--cgcode.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/cgcode.c b/cgcode.c
index 86dbfc3..2bd3c4e 100644
--- a/cgcode.c
+++ b/cgcode.c
@@ -2341,7 +2341,13 @@ void code_eq_desc_b (char descriptor_name[],int arity)
{
INSTRUCTION_GRAPH graph_1,graph_2,graph_3;
LABEL *descriptor;
-
+
+#ifdef G_AI64
+ if (descriptor_name[0]=='I' && descriptor_name[1]=='N' &&
+ descriptor_name[2]=='T' && descriptor_name[3]=='\0')
+ descriptor_name="dINT";
+#endif
+
descriptor=enter_label (descriptor_name,DATA_LABEL);
graph_1=s_pop_b();