Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Unified Diff: test/mjsunit/leakcheck.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/keyed-ic.js ('k') | test/mjsunit/limit-locals.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/leakcheck.js
diff --git a/test/mjsunit/leakcheck.js b/test/mjsunit/leakcheck.js
index 7cbb2e5500e4ffa1a81f7c40ad9952f41fed800b..2d36b89552df3f149cee98f4e389f3b5701d1441 100644
--- a/test/mjsunit/leakcheck.js
+++ b/test/mjsunit/leakcheck.js
@@ -31,8 +31,11 @@
*/
function fac(n) {
- if (n > 0) return fac(n - 1) * n;
- else return 1;
+ if (n > 0) {
+ return fac(n - 1) * n;
+ } else {
+ return 1;
+ }
}
function testFac() {
« no previous file with comments | « test/mjsunit/keyed-ic.js ('k') | test/mjsunit/limit-locals.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698