diff options
Diffstat (limited to 'src/jit/gentree.h')
-rw-r--r-- | src/jit/gentree.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/jit/gentree.h b/src/jit/gentree.h index 830da20554..09ce220871 100644 --- a/src/jit/gentree.h +++ b/src/jit/gentree.h @@ -24,7 +24,7 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX #include "ssaconfig.h" // For "SsaConfig::RESERVED_SSA_NUM" #include "reglist.h" #include "valuenumtype.h" -#include "simplerhash.h" +#include "jithashtable.h" #include "nodeinfo.h" #include "simd.h" #include "namedintrinsiclist.h" @@ -259,10 +259,9 @@ struct FieldSeqNode // This class canonicalizes field sequences. class FieldSeqStore { - typedef SimplerHashTable<FieldSeqNode, /*KeyFuncs*/ FieldSeqNode, FieldSeqNode*, JitSimplerHashBehavior> - FieldSeqNodeCanonMap; + typedef JitHashTable<FieldSeqNode, /*KeyFuncs*/ FieldSeqNode, FieldSeqNode*> FieldSeqNodeCanonMap; - IAllocator* m_alloc; + CompAllocator* m_alloc; FieldSeqNodeCanonMap* m_canonMap; static FieldSeqNode s_notAField; // No value, just exists to provide an address. @@ -272,7 +271,7 @@ class FieldSeqStore static int ConstantIndexPseudoFieldStruct; public: - FieldSeqStore(IAllocator* alloc); + FieldSeqStore(CompAllocator* alloc); // Returns the (canonical in the store) singleton field sequence for the given handle. FieldSeqNode* CreateSingleton(CORINFO_FIELD_HANDLE fieldHnd); @@ -932,7 +931,14 @@ public: #define GTF_CALL_POP_ARGS 0x04000000 // GT_CALL -- caller pop arguments? #define GTF_CALL_HOISTABLE 0x02000000 // GT_CALL -- call is hoistable #ifdef LEGACY_BACKEND +#ifdef _TARGET_ARM_ +// The GTF_CALL_REG_SAVE flag indicates that the call preserves all integer registers. This is used for +// the PollGC helper. However, since the PollGC helper on ARM follows the standard calling convention, +// for that target we don't use this flag. +#define GTF_CALL_REG_SAVE 0x00000000 +#else #define GTF_CALL_REG_SAVE 0x01000000 // GT_CALL -- This call preserves all integer regs +#endif // _TARGET_ARM_ #endif // LEGACY_BACKEND // For additional flags for GT_CALL node see GTF_CALL_M_* |