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:
6a5b0e5
)
Make sure that Limit::vn is initialized
author
Mike Danes
<onemihaid@hotmail.com>
Tue, 7 Nov 2017 18:38:58 +0000
(20:38 +0200)
committer
Mike Danes
<onemihaid@hotmail.com>
Tue, 7 Nov 2017 18:38:58 +0000
(20:38 +0200)
There is code in RangeCheck::MergeEdgeAssertions that checks the limit's vn even if the limit type is keConstant.
src/jit/rangecheck.h
patch
|
blob
|
history
diff --git
a/src/jit/rangecheck.h
b/src/jit/rangecheck.h
index
9cc0d51
..
aaea329
100644
(file)
--- a/
src/jit/rangecheck.h
+++ b/
src/jit/rangecheck.h
@@
-93,7
+93,7
@@
struct Limit
{
}
- Limit(LimitType type, int cns) : cns(cns), type(type)
+ Limit(LimitType type, int cns) : cns(cns),
vn(ValueNumStore::NoVN),
type(type)
{
assert(type == keConstant);
}