projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df1748
)
Add assert
author
Steve MacLean
<sdmaclea@qti.qualcomm.com>
Fri, 28 Apr 2017 02:08:48 +0000
(22:08 -0400)
committer
GitHub
<noreply@github.com>
Fri, 28 Apr 2017 02:08:48 +0000
(22:08 -0400)
src/jit/emitarm64.cpp
patch
|
blob
|
history
diff --git
a/src/jit/emitarm64.cpp
b/src/jit/emitarm64.cpp
index
1540ccc
..
e2a1ae1
100644
(file)
--- 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 */