projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7756331
)
Fixing an assert in `gtGetStructHandleForSIMD` to validate the size of the simdType...
author
Tanner Gooding
<tagoo@outlook.com>
Sat, 15 Dec 2018 05:53:17 +0000
(21:53 -0800)
committer
GitHub
<noreply@github.com>
Sat, 15 Dec 2018 05:53:17 +0000
(21:53 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/
f3941e439a080a526ecd6216c90328ef900e41ac
src/coreclr/src/jit/compiler.h
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/compiler.h
b/src/coreclr/src/jit/compiler.h
index
7e80070
..
91ea237
100644
(file)
--- a/
src/coreclr/src/jit/compiler.h
+++ b/
src/coreclr/src/jit/compiler.h
@@
-7650,7
+7650,7
@@
private:
unreached();
}
}
- assert(
simdType == getSIMDVectorType
());
+ assert(
emitTypeSize(simdType) <= maxSIMDStructBytes
());
switch (simdBaseType)
{
case TYP_FLOAT: