Indentations break the feed.
[SquirrelJME.git] / modules / cldc-compact / src / test / resources / lang / bytecode / TestAAStoreNPE.j
blob5ab641a08069f5958e3bd5d8fab589031b783b37
1 ; -*- Mode: Jasmin; indent-tabs-mode: t; tab-width: 4 -*-
2 ; ---------------------------------------------------------------------------
3 ; SquirrelJME
4 ; Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 ; ---------------------------------------------------------------------------
6 ; SquirrelJME is under the Mozilla Public License Version 2.0.
7 ; See license.mkd for licensing and copyright information.
8 ; ---------------------------------------------------------------------------
10 .class public lang/bytecode/TestAAStoreNPE
11 .super net/multiphasicapps/tac/TestSupplier
13 .method public <init>()V
14 aload 0
15 invokenonvirtual net/multiphasicapps/tac/TestSupplier/<init>()V
16 return
17 .end method
19 .method public test()Ljava/lang/Object;
20 .limit stack 6
22 ; Obtain array
23 invokestatic lang/bytecode/ByteCodeUtil/nullStringArray()[Ljava/lang/String;
24 dup
26 ; Store to array
27 bipush 3
28 new java/lang/Integer
29 dup
30 bipush 1
31 invokenonvirtual java/lang/Integer/<init>(I)V
32 aastore
34 ; Return value
35 areturn
36 .end method