summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Litchev <LLITCHEV@users.noreply.github.com>2016-03-04 17:26:49 -0800
committerLubomir Litchev <LLITCHEV@users.noreply.github.com>2016-03-04 17:26:49 -0800
commit34e1fad44ec969a85db8464eaab3c13b406cb5a2 (patch)
tree0c927af85840adf1a2aa4eb2cf04bfee41c6d03a
parentd700c5c07b3aba1200d0f15d1bacf0cf9d68ef05 (diff)
parent4411f0c2d1d7ffb826840d702812a798a0e42c7e (diff)
downloadcoreclr-34e1fad44ec969a85db8464eaab3c13b406cb5a2.tar.gz
coreclr-34e1fad44ec969a85db8464eaab3c13b406cb5a2.tar.bz2
coreclr-34e1fad44ec969a85db8464eaab3c13b406cb5a2.zip
Merge pull request #3505 from LLITCHEV/Issue3360
Reenable an assert.
-rw-r--r--src/jit/codegenxarch.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/jit/codegenxarch.cpp b/src/jit/codegenxarch.cpp
index 66ab3588ba..6a9e38e438 100644
--- a/src/jit/codegenxarch.cpp
+++ b/src/jit/codegenxarch.cpp
@@ -2676,12 +2676,8 @@ CodeGen::genStoreRegisterReturnInLclVar(GenTreePtr treeNode)
assert(structDesc.passedInRegisters);
- // TODO-Amd64-Unix: Have Lubo Review this change
- // Test case JIT.opt.ETW.TailCallCases.TailCallCases has eightByteCount == 1
- // This occurs with a TYP_STRUCT that is 3 bytes in size
- // commenting out this assert results in correct codegen
- //
- // assert(structDesc.eightByteCount == CLR_SYSTEMV_MAX_EIGHTBYTES_COUNT_TO_PASS_IN_REGISTERS);
+ // The type of LclVars of TYP_STRUCT with one eightbyte is normalized.
+ assert(structDesc.eightByteCount == CLR_SYSTEMV_MAX_EIGHTBYTES_COUNT_TO_PASS_IN_REGISTERS);
GenTreePtr op1 = treeNode->gtOp.gtOp1;
genConsumeRegs(op1);