• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
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    leaq    OFF_FP_SHADOWFRAME(rFP), OUT_ARG0
11    movq    rPC, OUT_ARG1
12    REFRESH_INST ${opnum}
13    movq    rINSTq, OUT_ARG2
14    movq    rSELF, OUT_ARG3
15    call    SYMBOL(MterpNewArray)
16    testb   %al, %al                        # 0 means an exception is thrown
17    jz      MterpPossibleException
18    ADVANCE_PC_FETCH_AND_GOTO_NEXT 2
19