fill(interpreter, interpreter.getObject(obj), 1, realSizes);
thread.pushObject(obj);
}
private void fill(WeaselInterpreter interpreter, WeaselObject array, int depth, int[] realSizes){
WeaselClass weaselArrayClass = array.getWeaselClass();
for(int i=0; i<realSizes[depth-1]; i++){
int obj = interpreter.baseTypes.createArrayObject(realSizes[depth], weaselArrayClass);
if(depth+1<realSizes.length)
fill(interpreter, interpreter.getObject(obj), depth+1, realSizes);
interpreter.baseTypes.setArrayObject(array, i, obj);