Signed-off-by: Tomek Grabiec <[email protected]>
---
regression/jvm/SubroutineTest.j | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/regression/jvm/SubroutineTest.j b/regression/jvm/SubroutineTest.j
index 2e7bd37..a44576f 100644
--- a/regression/jvm/SubroutineTest.j
+++ b/regression/jvm/SubroutineTest.j
@@ -20,7 +20,19 @@ sub1:
invokestatic jvm/TestCase/assertEquals(II)V
.end method
+.method public static testWideInstructions()V
+ .limit locals 2
+
+ jsr_w subroutine
+ return
+
+subroutine:
+ astore_w 1
+ ret_w 1
+.end method
+
.method public static main([Ljava/lang/String;)V
invokestatic jvm/SubroutineTest/testSingleSubroutine()V
+ invokestatic jvm/SubroutineTest/testWideInstructions()V
return
.end method
--
1.6.0.6
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel