#include "arch.h"
-#include "mm/memory.h"
+#include "mm/memory.hpp"
#include "native/llni.h"
-#include "vm/array.h"
-#include "vm/descriptor.h"
+#include "vm/array.hpp"
+#include "vm/descriptor.hpp"
#include "vm/global.h"
-#include "vm/method.h"
+#include "vm/method.hpp"
#include "vm/primitive.hpp"
-#include "vm/resolve.h"
+#include "vm/resolve.hpp"
#include "vm/vm.hpp"
#include "vm/jit/abi-asm.h"
i++;
}
+ ObjectArray oa(params);
+
for (j = 0; i < md->paramcount; i++, j++, pd++, td++) {
/* XXX This function can throw an exception, which should not happend
here, since we are outside the nativeworld. */
- param = array_objectarray_element_get(params, j);
+ param = oa.get_element(j);
switch (td->type) {
case TYPE_INT: