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;