Indentations break the feed.
[SquirrelJME.git] / modules / cldc-compact / src / test / resources / lang / bytecode / TestAAStoreUnderflow.j
blob2ed3c84c06dff3fde10ff2608b7d9e76864c7a3a
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/TestAAStoreUnderflow
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/makeStringArray()[Ljava/lang/String;
24 dup
26 ; Store to array
27 bipush -3
28 ldc "squeak"
29 aastore
31 ; Return value
32 areturn
33 .end method