From 5c8ca2527ab37f8a7ccc8f408aba47d34bf956b3 Mon Sep 17 00:00:00 2001 From: Matteo Giordano Date: Mon, 31 May 2021 16:56:17 +0200 Subject: [PATCH] SwitchManager constructor fixup --- lib/Support/ProgramCounterHandler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Support/ProgramCounterHandler.cpp b/lib/Support/ProgramCounterHandler.cpp index 838f7e1df..862fc7158 100644 --- a/lib/Support/ProgramCounterHandler.cpp +++ b/lib/Support/ProgramCounterHandler.cpp @@ -511,6 +511,7 @@ public: Default(Root->getDefaultDest()), SetBlockType(SetBlockType) { + NewBlocksRegistry = nullptr; // Get the switches of the the first MA. This is just in order to get a // reference to their conditions SwitchInst *EpochSwitch = Root;