private void addRegisterWithValue(Register reg) {
		registersWithValues.add(reg);
		for (Register child : reg.getChildRegisters()) {
			addRegisterWithValue(child);
		}
	}
Flush any cached context not yet written to database
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/AbstractStoredProgramContext.java