diff options
Diffstat (limited to 'src/jit/codegen.h')
-rw-r--r-- | src/jit/codegen.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/jit/codegen.h b/src/jit/codegen.h index 879ee7bfa6..d83993b56a 100644 --- a/src/jit/codegen.h +++ b/src/jit/codegen.h @@ -51,18 +51,17 @@ public: private: #if defined(_TARGET_XARCH_) && !FEATURE_STACK_FP_X87 // Bit masks used in negating a float or double number. - // The below gentrees encapsulate the data offset to the bitmasks as GT_CLS_VAR nodes. // This is to avoid creating more than one data constant for these bitmasks when a // method has more than one GT_NEG operation on floating point values. - GenTreePtr negBitmaskFlt; - GenTreePtr negBitmaskDbl; + CORINFO_FIELD_HANDLE negBitmaskFlt; + CORINFO_FIELD_HANDLE negBitmaskDbl; // Bit masks used in computing Math.Abs() of a float or double number. - GenTreePtr absBitmaskFlt; - GenTreePtr absBitmaskDbl; + CORINFO_FIELD_HANDLE absBitmaskFlt; + CORINFO_FIELD_HANDLE absBitmaskDbl; // Bit mask used in U8 -> double conversion to adjust the result. - GenTreePtr u8ToDblBitmask; + CORINFO_FIELD_HANDLE u8ToDblBitmask; // Generates SSE2 code for the given tree as "Operand BitWiseOp BitMask" void genSSE2BitwiseOp(GenTreePtr treeNode); @@ -282,11 +281,9 @@ protected: void genExitCode(BasicBlock* block); - //------------------------------------------------------------------------- - +#ifdef LEGACY_BACKEND GenTreePtr genMakeConst(const void* cnsAddr, var_types cnsType, GenTreePtr cnsTree, bool dblAlign); - - //------------------------------------------------------------------------- +#endif void genJumpToThrowHlpBlk(emitJumpKind jumpKind, SpecialCodeKind codeKind, GenTreePtr failBlk = nullptr); |