diff options
author | aclement <aclement> | 2004-10-11 18:39:06 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-10-11 18:39:06 +0000 |
commit | 5c996fc559581581e9dde60a6f555aa3ff7cc042 (patch) | |
tree | d3f307672d856355aa3b0d8fbf5b81fb9c18f451 /tests/src/org/aspectj | |
parent | 7fe9492cbb9b857e45531f6c74fbd15f8c551b25 (diff) | |
download | aspectj-5c996fc559581581e9dde60a6f555aa3ff7cc042.tar.gz aspectj-5c996fc559581581e9dde60a6f555aa3ff7cc042.zip |
76030 - cflow optimizations. Part 1 fix - use counters rather than stacks when we can.
Diffstat (limited to 'tests/src/org/aspectj')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java | 4 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java b/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java index 022424090..82574a339 100644 --- a/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java @@ -313,5 +313,9 @@ public class Ajc121Tests extends org.aspectj.testing.XMLBasedAjcTestCase { public void test058_npeOnTJPerror() { runTest("NPE on thisJoinPoint mistake"); } + + public void test059_cflowOptimization_counters() { + runTest("Optimization of cflow - counters"); + } }
\ No newline at end of file diff --git a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml index 5c76906a3..2d443d55c 100644 --- a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml +++ b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml @@ -464,4 +464,12 @@ <compile files="TjpMistake.java"> <message kind="error" line="22"/> </compile> + </ajc-test> + + <ajc-test + dir="cflow" + pr="76030" + title="Optimization of cflow - counters"> + <compile files="CounterTest01.java"/> + <run class="CounterTest01"/> </ajc-test>
\ No newline at end of file |