final int size = lvg.getType().getSize();
final int slot = lvg.getIndex();
final int limit = _free;
for (int i = 0; i < limit; i++) {
if (_slotsTaken[i] == slot) {
int j = i + size;
while (j < limit) {
_slotsTaken[i++] = _slotsTaken[j++];
}
_free -= size;
return;
}
}
String state = "Variable slot allocation error"+
"(size="+size+", slot="+slot+", limit="+limit+")";
ErrorMsg err = new ErrorMsg(ErrorMsg.INTERNAL_ERR, state);
throw new Error(err.toString());