Indentations break the feed.
[SquirrelJME.git] / modules / cldc-compact / src / test / resources / lang / bytecode / TestAALoadOverflow.j
blobb6a2eab1bbad2ce27c32aef0a6b3953373e8aafa
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/TestAALoadOverflow
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 2
22 ; Obtain array
23 invokestatic lang/bytecode/ByteCodeUtil/makeStringArray()[Ljava/lang/String;
25 ; Load from array
26 bipush 4
27 aaload
29 ; Return value
30 areturn
31 .end method