// function already exists, then this is a repeat call, and the only thing
// needed is to fix up references to the function from within the importing
// module.
if (compiledFunction == null) {
SlotManager map = config.makeSlotManager();
UserFunctionParameter[] params = getParameterDefinitions();
for (int i=0; i<params.length; i++) {
params[i].setSlotNumber(i);
map.allocateSlotNumber(params[i].getVariableQName());
}