summaryrefslogtreecommitdiff
path: root/src/jit/gentree.h
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2016-10-10 13:30:00 -0700
committerPat Gavlin <pagavlin@microsoft.com>2016-10-10 14:36:02 -0700
commitb734cc0593477de9fd232414cd6b863303284cf0 (patch)
treea8ea16beff3b66dbeda77ebda22f93b74c2ce9f5 /src/jit/gentree.h
parent9fa566912ad334c805f15f1e1fe33775b6eafa19 (diff)
downloadcoreclr-b734cc0593477de9fd232414cd6b863303284cf0.tar.gz
coreclr-b734cc0593477de9fd232414cd6b863303284cf0.tar.bz2
coreclr-b734cc0593477de9fd232414cd6b863303284cf0.zip
Address PR feedback.
Diffstat (limited to 'src/jit/gentree.h')
-rw-r--r--src/jit/gentree.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/jit/gentree.h b/src/jit/gentree.h
index 622ccb578a..5282dc1395 100644
--- a/src/jit/gentree.h
+++ b/src/jit/gentree.h
@@ -4477,7 +4477,7 @@ struct GenTreePutArgStk : public GenTreeUnOp
, gtSlotNum(slotNum)
, putInIncomingArgArea(_putInIncomingArgArea)
#ifdef FEATURE_PUT_STRUCT_ARG_STK
- , gtPutArgStkKind(PutArgStkKindInvalid)
+ , gtPutArgStkKind(Kind::Invalid)
, gtNumSlots(numSlots)
, gtNumberReferenceSlots(0)
, gtGcPtrs(nullptr)
@@ -4498,7 +4498,7 @@ struct GenTreePutArgStk : public GenTreeUnOp
, gtSlotNum(slotNum)
, putInIncomingArgArea(_putInIncomingArgArea)
#ifdef FEATURE_PUT_STRUCT_ARG_STK
- , gtPutArgStkKind(PutArgStkKindInvalid)
+ , gtPutArgStkKind(Kind::Invalid)
, gtNumSlots(numSlots)
, gtNumberReferenceSlots(0)
, gtGcPtrs(nullptr)
@@ -4518,7 +4518,7 @@ struct GenTreePutArgStk : public GenTreeUnOp
: GenTreeUnOp(oper, type DEBUGARG(largeNode))
, gtSlotNum(slotNum)
#ifdef FEATURE_PUT_STRUCT_ARG_STK
- , gtPutArgStkKind(PutArgStkKindInvalid)
+ , gtPutArgStkKind(Kind::Invalid)
, gtNumSlots(numSlots)
, gtNumberReferenceSlots(0)
, gtGcPtrs(nullptr)
@@ -4537,7 +4537,7 @@ struct GenTreePutArgStk : public GenTreeUnOp
: GenTreeUnOp(oper, type, op1 DEBUGARG(largeNode))
, gtSlotNum(slotNum)
#ifdef FEATURE_PUT_STRUCT_ARG_STK
- , gtPutArgStkKind(PutArgStkKindInvalid)
+ , gtPutArgStkKind(Kind::Invalid)
, gtNumSlots(numSlots)
, gtNumberReferenceSlots(0)
, gtGcPtrs(nullptr)
@@ -4595,9 +4595,11 @@ struct GenTreePutArgStk : public GenTreeUnOp
// TODO-Throughput: The following information should be obtained from the child
// block node.
- enum PutArgStkKind : __int8{PutArgStkKindInvalid, PutArgStkKindRepInstr, PutArgStkKindUnroll};
+ enum class Kind : __int8{
+ Invalid, RepInstr, Unroll, AllSlots,
+ };
- PutArgStkKind gtPutArgStkKind;
+ Kind gtPutArgStkKind;
unsigned gtNumSlots; // Number of slots for the argument to be passed on stack
unsigned gtNumberReferenceSlots; // Number of reference slots.