Add isolation rules from Chip Data File to IsolationNode
Change-Id: I47eb4fedcf96858270d08c8d4ab1e26fe874be79
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
diff --git a/src/isolator/hei_isolator.cpp b/src/isolator/hei_isolator.cpp
index 3488ab9..902fbe6 100644
--- a/src/isolator/hei_isolator.cpp
+++ b/src/isolator/hei_isolator.cpp
@@ -39,6 +39,14 @@
// HardwareRegister objects.
HardwareRegister::flushAll();
+ // Clear the operator register flyweights.
+ Flyweight<const ConstantRegister>::getSingleton().clear();
+ Flyweight<const AndRegister>::getSingleton().clear();
+ Flyweight<const OrRegister>::getSingleton().clear();
+ Flyweight<const NotRegister>::getSingleton().clear();
+ Flyweight<const LeftShiftRegister>::getSingleton().clear();
+ Flyweight<const RightShiftRegister>::getSingleton().clear();
+
// Remove all of the HardwareRegister objects stored in the flyweights.
Flyweight<const ScomRegister>::getSingleton().clear();
Flyweight<const IdScomRegister>::getSingleton().clear();