(base,cond)
| 162 | assertUnoptimized(test_base_for_oob); |
| 163 | |
| 164 | function test_minus(base,cond) { |
| 165 | a[base - 1] = 1; |
| 166 | a[base - 2] = 2; |
| 167 | a[base + 4] = 3; |
| 168 | a[base] = 4; |
| 169 | a[base + 4] = base + 4; |
| 170 | if (cond) { |
| 171 | a[base - 4] = 1; |
| 172 | a[base + 5] = 2; |
| 173 | a[base + 3] = 3; |
| 174 | a[base + 2] = 4; |
| 175 | a[base + 4] = base + 4; |
| 176 | } else { |
| 177 | a[base + 6] = 1; |
| 178 | a[base + 4] = 2; |
| 179 | a[base + 3] = 3; |
| 180 | a[base + 2] = 4; |
| 181 | a[base + 4] = base - 4; |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | function check_test_minus(base,cond) { |
| 186 | if (cond) { |
no outgoing calls
no test coverage detected