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:
9573df1
)
Clear heap PerSsaData, heapSsaMap in fgResetForSsa
author
Joseph Tremoulet
<jotrem@microsoft.com>
Fri, 30 Sep 2016 19:18:55 +0000
(15:18 -0400)
committer
Joseph Tremoulet
<jotrem@microsoft.com>
Fri, 4 Nov 2016 18:57:06 +0000
(14:57 -0400)
These need to be cleared for the same reasons as the locals' PerSsaData;
their omission seems to be a simple oversight.
Commit migrated from https://github.com/dotnet/coreclr/commit/
eed63a7901ac0fe886f5a85cafbf0db62991ec91
src/coreclr/src/jit/ssabuilder.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/ssabuilder.cpp
b/src/coreclr/src/jit/ssabuilder.cpp
index
7968b5e
..
13486bc
100644
(file)
--- a/
src/coreclr/src/jit/ssabuilder.cpp
+++ b/
src/coreclr/src/jit/ssabuilder.cpp
@@
-103,6
+103,8
@@
void Compiler::fgResetForSsa()
{
lvaTable[i].lvPerSsaData.Reset();
}
+ lvHeapPerSsaData.Reset();
+ m_heapSsaMap = nullptr;
for (BasicBlock* blk = fgFirstBB; blk != nullptr; blk = blk->bbNext)
{
// Eliminate phis.