summaryrefslogtreecommitdiff
path: root/src/jit/flowgraph.cpp
diff options
context:
space:
mode:
authormikedn <onemihaid@hotmail.com>2018-08-26 01:30:57 +0300
committerSergey Andreenko <seandree@microsoft.com>2018-08-25 15:30:57 -0700
commitd27fff3f65193dd71c6197e9876101f496bbd28b (patch)
tree89394985c67adc8a3a08ffa56545f96c07f29dc3 /src/jit/flowgraph.cpp
parent9951a1b06f1279fdf8ad465dff355fc38238211f (diff)
downloadcoreclr-d27fff3f65193dd71c6197e9876101f496bbd28b.tar.gz
coreclr-d27fff3f65193dd71c6197e9876101f496bbd28b.tar.bz2
coreclr-d27fff3f65193dd71c6197e9876101f496bbd28b.zip
Remove some GT_ASG_op leftovers (#18205)
Diffstat (limited to 'src/jit/flowgraph.cpp')
-rw-r--r--src/jit/flowgraph.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jit/flowgraph.cpp b/src/jit/flowgraph.cpp
index 3bf89bae66..9b361ff46e 100644
--- a/src/jit/flowgraph.cpp
+++ b/src/jit/flowgraph.cpp
@@ -21159,7 +21159,7 @@ void Compiler::fgDebugCheckFlags(GenTree* tree)
/* For a GT_ASG(GT_IND(x), y) we are interested in the side effects of x */
GenTree* op1p;
- if (GenTree::OperIsAssignment(oper) && (op1->gtOper == GT_IND))
+ if ((oper == GT_ASG) && (op1->gtOper == GT_IND))
{
op1p = op1->gtOp.gtOp1;
}
@@ -25493,7 +25493,7 @@ private:
bool ContainsFatCalli(GenTreeStmt* stmt)
{
GenTree* fatPointerCandidate = stmt->gtStmtExpr;
- if (fatPointerCandidate->OperIsAssignment())
+ if (fatPointerCandidate->OperIs(GT_ASG))
{
fatPointerCandidate = fatPointerCandidate->gtGetOp2();
}
@@ -25510,7 +25510,7 @@ private:
checkBlock = nullptr;
thenBlock = nullptr;
elseBlock = nullptr;
- doesReturnValue = stmt->gtStmtExpr->OperIsAssignment();
+ doesReturnValue = stmt->gtStmtExpr->OperIs(GT_ASG);
origCall = GetCall(stmt);
fptrAddress = origCall->gtCallAddr;
pointerType = fptrAddress->TypeGet();
@@ -25547,7 +25547,7 @@ private:
GenTreeCall* call = nullptr;
if (doesReturnValue)
{
- assert(tree->OperIsAssignment());
+ assert(tree->OperIs(GT_ASG));
call = tree->gtGetOp2()->AsCall();
}
else