private void invalidateRegisterStores() {
		for (RegisterValueStore store : registerValueMap.values()) {
			store.invalidate();
		}
		for (RegisterValueStore store : defaultRegisterValueMap.values()) {
			store.invalidate();
		}
	}
Perform context upgrade due to a language change
@param translator language translator required by major upgrades (may be null)
@param newCompilerSpec new compiler specification
@param programMemory program memory
@param monitor task monitor
@throws CancelledException thrown if monitor cancelled
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/register/ProgramRegisterContextDB.java