summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2016-01-29 15:57:48 -0800
committerBruce Forstall <brucefo@microsoft.com>2016-01-29 15:57:48 -0800
commit69e9278d792eb0506e421d075afd6acb07619421 (patch)
tree9c9d2444ba8e3ddf74a02b3334295485630734b8
parent589b95b64517abb135d9bca8345c087e864ec0b8 (diff)
downloadcoreclr-69e9278d792eb0506e421d075afd6acb07619421.tar.gz
coreclr-69e9278d792eb0506e421d075afd6acb07619421.tar.bz2
coreclr-69e9278d792eb0506e421d075afd6acb07619421.zip
Fix ARM JIT
During a previous code cleanup, an assert condition was incorrectly inverted.
-rw-r--r--src/jit/morph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jit/morph.cpp b/src/jit/morph.cpp
index 319b41df6c..d2dc66081d 100644
--- a/src/jit/morph.cpp
+++ b/src/jit/morph.cpp
@@ -4354,7 +4354,7 @@ void Compiler::fgFixupStructReturn(GenTreePtr call)
}
#ifdef _TARGET_ARM_
// Either we don't have a struct now or if struct, then it is HFA returned in regs.
- assert(varTypeIsStruct(call) || (IsHfa(call) && !callHasRetBuffArg));
+ assert(!varTypeIsStruct(call) || (IsHfa(call) && !callHasRetBuffArg));
#else
#if defined(FEATURE_UNIX_AMD64_STRUCT_PASSING)
// Either we don't have a struct now or if struct, then it is a struct returned in regs or in return buffer.