summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve MacLean <sdmaclea@qti.qualcomm.com>2017-04-27 22:08:48 -0400
committerGitHub <noreply@github.com>2017-04-27 22:08:48 -0400
commit136b32f6b7148b9d8541cfd5f3ed0d7e141fd32b (patch)
treef8ed470217f6cd395152c644b9fdd476d7e56fbb
parent8df1748f28dab626ec40eaab9801053743b150cc (diff)
downloadcoreclr-136b32f6b7148b9d8541cfd5f3ed0d7e141fd32b.tar.gz
coreclr-136b32f6b7148b9d8541cfd5f3ed0d7e141fd32b.tar.bz2
coreclr-136b32f6b7148b9d8541cfd5f3ed0d7e141fd32b.zip
Add assert
-rw-r--r--src/jit/emitarm64.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jit/emitarm64.cpp b/src/jit/emitarm64.cpp
index 1540cccf18..e2a1ae14ec 100644
--- a/src/jit/emitarm64.cpp
+++ b/src/jit/emitarm64.cpp
@@ -5350,6 +5350,7 @@ void emitter::emitIns_R_R_R_I(instruction ins,
if (attrReg2 != EA_UNKNOWN)
{
+ assert((fmt == IF_LS_3B) || (fmt == IF_LS_3C));
if (EA_IS_GCREF(attrReg2))
{
/* A special value indicates a GCref pointer value */