summaryrefslogtreecommitdiff
path: root/test/cminor/qsort.cm
diff options
context:
space:
mode:
Diffstat (limited to 'test/cminor/qsort.cm')
-rw-r--r--test/cminor/qsort.cm6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/cminor/qsort.cm b/test/cminor/qsort.cm
index 004f8cd..8c73584 100644
--- a/test/cminor/qsort.cm
+++ b/test/cminor/qsort.cm
@@ -9,11 +9,13 @@
{{ loop {
if (! (i < j)) exit;
{{ loop {
- if (i >= hi || int32[a + i * 4] > pivot) exit;
+ if (i >= hi) exit;
+ if (int32[a + i * 4] > pivot) exit;
i = i + 1;
} }}
{{ loop {
- if (j <= lo || int32[a + j * 4] < pivot) exit;
+ if (j <= lo) exit;
+ if (int32[a + j * 4] < pivot) exit;
j = j - 1;
} }}
if (i < j) {