summaryrefslogtreecommitdiff
path: root/src/jit/copyprop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jit/copyprop.cpp')
-rw-r--r--src/jit/copyprop.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jit/copyprop.cpp b/src/jit/copyprop.cpp
index a4c56a1c46..db797a04c2 100644
--- a/src/jit/copyprop.cpp
+++ b/src/jit/copyprop.cpp
@@ -407,6 +407,7 @@ void Compiler::optVnCopyProp()
// Compute the domTree to use.
BlkToBlkSetMap* domTree = new (getAllocator()) BlkToBlkSetMap(getAllocator());
+ domTree->Reallocate(fgBBcount * 3 / 2); // Prime the allocation
SsaBuilder::ComputeDominators(this, domTree);
struct BlockWork