Offload int[] to byte[].
[SquirrelJME.git] / modules / cldc-compact / src / test / resources / lang / interfaces / TestInvokeInterfaceSubClassReplace.j
blobd0a82b738ad3adcc30c8cb9bcb20177b708c4787
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/interfaces/TestInvokeInterfaceSubClassReplace
11 .super net/multiphasicapps/tac/TestInteger
13 .method public <init>()V
14 aload 0
15 invokenonvirtual net/multiphasicapps/tac/TestInteger/<init>()V
16 return
17 .end method
19 .method public test()I
20 .limit stack 2
21 ; Allocate and initialize an implementation
22 new lang/interfaces/SubClassImplAIsReplaced
23 dup
24 invokespecial lang/interfaces/SubClassImplAIsReplaced/<init>()V
26 invokeinterface lang/interfaces/InterfaceA/methodA()I 1
27 ireturn
28 .end method