this.spilledVariables = variables;
int n = spilledVariables.length;
int noArgs = currentMethod.getNoArguments();
for (int i = 0; i < n; i += 1) {
Variable<X86Register> var = (Variable<X86Register>) spilledVariables[i];
StackLocation loc = (StackLocation) var.getLocation();
loc.setDisplacement(stackFrame.getEbpOffset(typeSizeInfo, noArgs + i));
}
}