summaryrefslogtreecommitdiff
path: root/src/jit/gentree.h
diff options
context:
space:
mode:
authorCarol Eidt <carol.eidt@microsoft.com>2018-05-23 07:39:43 -0700
committerGitHub <noreply@github.com>2018-05-23 07:39:43 -0700
commitb39a5b2cfad4620ae23cda84186a36ffb463cd5a (patch)
treeb378e05aca980b231d8e9f45a00beaeca73405e2 /src/jit/gentree.h
parent74d0196fe5b36bf04848f2cf84d20c8b6e999b62 (diff)
downloadcoreclr-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.h15
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();