Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
---
 regression/jvm/RegisterAllocatorTortureTest.java |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/regression/jvm/RegisterAllocatorTortureTest.java 
b/regression/jvm/RegisterAllocatorTortureTest.java
index 0a2d2ad..91682a3 100644
--- a/regression/jvm/RegisterAllocatorTortureTest.java
+++ b/regression/jvm/RegisterAllocatorTortureTest.java
@@ -62,8 +62,24 @@ public class RegisterAllocatorTortureTest extends TestCase {
         }
     }
 
+    static class TestClass {
+        public int get(int index) {
+            return index;
+        }
+    };
+
+    private static int 
doTestIntervalSplitOnRegisterAllocatorPressure(TestClass obj, int index) {
+        return obj.get(index) + obj.get(index) + obj.get(index);
+    }
+
+    public static void testIntervalSplitOnRegisterAllocatorPressure() {
+        TestClass obj = new TestClass();
+        doTestIntervalSplitOnRegisterAllocatorPressure(obj, 0);
+    }
+
     public static void main(String[] args) {
       testIntegerBigExpression();
       testComplexRegisterAllocatorPressure();
+      testIntervalSplitOnRegisterAllocatorPressure();
     }
 }
-- 
1.6.0.6


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to