Indentations break the feed.
[SquirrelJME.git] / modules / cldc-compact / src / test / resources / lang / bytecode / TestArrayLengthDoubleConst.j
blobaf544d98097f42b7db106cf1bca1c7aadd7024dd
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/TestArrayLengthDoubleConst
11 .super lang/bytecode/__ArrayLength__
13 .method public <init>()V
14 aload 0
15 invokenonvirtual lang/bytecode/__ArrayLength__/<init>()V
16 return
17 .end method
19 .method public test()I
20 .limit stack 4
21 ; Create array
22 bipush 4
23 newarray double
25 ; Return the length
26 arraylength
27 ireturn
28 .end method