blob: 8bb792c2173cd18e9a96f80c85ba0583b003a829 [file] [log] [blame]
buzbee1452bee2015-03-06 14:43:04 -08001 /*
2 * Allocate an array of objects, specified with the array class
3 * and a count.
4 *
5 * The verifier guarantees that this is an array class, so we don't
6 * check for it here.
7 */
8 /* new-array vA, vB, class@CCCC */
9 EXPORT_PC
10 add r0, rFP, #OFF_FP_SHADOWFRAME
11 mov r1, rPC
12 mov r2, rINST
13 mov r3, rSELF
14 bl MterpNewArray
15 cmp r0, #0
16 beq MterpPossibleException
17 FETCH_ADVANCE_INST 2 @ advance rPC, load rINST
18 GET_INST_OPCODE ip @ extract opcode from rINST
19 GOTO_OPCODE ip @ jump to next instruction