Index: test/mjsunit/mjsunit.js |
diff --git a/test/mjsunit/mjsunit.js b/test/mjsunit/mjsunit.js |
index bcd4913b3b775b59983b116281e1a267ebc0a011..043027908853d0dfd9169553dae00a19a3efde55 100644 |
--- a/test/mjsunit/mjsunit.js |
+++ b/test/mjsunit/mjsunit.js |
@@ -391,9 +391,8 @@ var assertUnoptimized; |
} catch (e) { |
throw new Error("natives syntax not allowed"); |
} |
- } else { |
- OptimizationStatusImpl(fun, sync_opt); |
} |
+ return OptimizationStatusImpl(fun, sync_opt); |
} |
assertUnoptimized = function assertUnoptimized(fun, sync_opt, name_opt) { |