| Index: test/mjsunit/apply.js
|
| diff --git a/test/mjsunit/apply.js b/test/mjsunit/apply.js
|
| index 413ee937c6638cc7d30e2bf75e755a3a89a27d2a..22e50a4f4846e1f64808a590b5c889b8c1207f22 100644
|
| --- a/test/mjsunit/apply.js
|
| +++ b/test/mjsunit/apply.js
|
| @@ -142,10 +142,12 @@ var primes = new Array(0);
|
| function isPrime(possible_prime) {
|
| for (var d = 0; d < primes.length; d++) {
|
| var p = primes[d];
|
| - if (possible_prime % p == 0)
|
| + if (possible_prime % p == 0) {
|
| return false;
|
| - if (p * p > possible_prime)
|
| + }
|
| + if (p * p > possible_prime) {
|
| return true;
|
| + }
|
| }
|
| return true;
|
| }
|
|
|