diff options
author | Carol Eidt <carol.eidt@microsoft.com> | 2018-05-23 07:39:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-23 07:39:43 -0700 |
commit | b39a5b2cfad4620ae23cda84186a36ffb463cd5a (patch) | |
tree | b378e05aca980b231d8e9f45a00beaeca73405e2 /src/jit/gentree.h | |
parent | 74d0196fe5b36bf04848f2cf84d20c8b6e999b62 (diff) | |
download | coreclr-b39a5b2cfad4620ae23cda84186a36ffb463cd5a.tar.gz coreclr-b39a5b2cfad4620ae23cda84186a36ffb463cd5a.tar.bz2 coreclr-b39a5b2cfad4620ae23cda84186a36ffb463cd5a.zip |
Create RefPositions without TreeNodeInfo (#16517)
* Create RefPositions without TreeNodeInfo
* Remove all references to TreeNodeInfo
* Fix function header comments
Diffstat (limited to 'src/jit/gentree.h')
-rw-r--r-- | src/jit/gentree.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/jit/gentree.h b/src/jit/gentree.h index a66f6c6d2b..5723b060f1 100644 --- a/src/jit/gentree.h +++ b/src/jit/gentree.h @@ -26,7 +26,6 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX #include "valuenumtype.h" #include "jitstd.h" #include "jithashtable.h" -#include "nodeinfo.h" #include "simd.h" #include "namedintrinsiclist.h" @@ -1302,6 +1301,20 @@ public: return OperIsShiftOrRotate(OperGet()); } + static bool OperIsMul(genTreeOps gtOper) + { + return (gtOper == GT_MUL) || (gtOper == GT_MULHI) +#if !defined(_TARGET_64BIT_) + || (gtOper == GT_MUL_LONG) +#endif + ; + } + + bool OperIsMul() const + { + return OperIsMul(gtOper); + } + bool OperIsArithmetic() const { genTreeOps op = OperGet(); |