private void updateCache(DecompileData decompileData) {
		Function function = decompileData.getFunction();
		DecompileResults results = decompileData.getDecompileResults();
		if (function != null && results != null && results.decompileCompleted()) {
			decompilerCache.put(function, results);
		}
	}
Called by the DecompilerManager to update the currently displayed DecompileData

@param decompileData the new data
Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/DecompilerController.java