view gen/linkage.h @ 1511:5b66008246bb

Implement equality comparison for associative arrays. The semantics aren't in the spec, but DMD does a simple pointer comparison. Complaints about this go to http://d.puremagic.com/issues/show_bug.cgi?id=1429 :P.
author Frits van Bommel <fvbommel wxs.nl>
date Sun, 21 Jun 2009 00:12:29 +0200
parents a865b81fc961
children a6a839bcc18a
line wrap: on
line source

#ifndef LDC_GEN_LINKAGE_H
#define LDC_GEN_LINKAGE_H

// Make it easier to test new linkage types

#  define TEMPLATE_LINKAGE_TYPE         llvm::GlobalValue::WeakODRLinkage
#  define TYPEINFO_LINKAGE_TYPE         llvm::GlobalValue::LinkOnceODRLinkage
// The One-Definition-Rule shouldn't matter for debug info, right?
#  define DEBUGINFO_LINKONCE_LINKAGE_TYPE \
                                        llvm::GlobalValue::LinkOnceAnyLinkage


#endif