public List<Variable> getMMXRegVariables(boolean exclusive) { ArrayList<Variable> vars = new ArrayList<Variable>(usedMMXRegisters.values()); for (Variable v : vars) { if (v.onStack()) vars.remove(v); } return vars; }
public void MMXRegToStack(Variable var) { stackVars++; stackPointer -= var.getSize(); MMXRegisterAddress reg = (MMXRegisterAddress) var.getRegAddress(); freeMMXRegisters.add(reg); usedMMXRegisters.remove(reg); var.addStackAddress(new StackAddress(stackPointer)); }