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

Unified Diff: test/mjsunit/compiler/regress-8.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/compiler/regress-5.js ('k') | test/mjsunit/compiler/regress-closures-with-eval.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/compiler/regress-8.js
diff --git a/test/mjsunit/compiler/regress-8.js b/test/mjsunit/compiler/regress-8.js
index 3a2388533cb19c9ba44f5dbd8ce978fe18aa3459..04edd043d98a3bdc630f45ce79f4f6011aeb95f7 100644
--- a/test/mjsunit/compiler/regress-8.js
+++ b/test/mjsunit/compiler/regress-8.js
@@ -41,69 +41,88 @@ var Kob = "";
var Lob = "";
var Mob = "";
var p = "";
-function O() { this.append = function(a,b,c,d,e) { return a + b + c + d + e; } }
+function O() {
+ this.append = function(a, b, c, d, e) {
+ return a + b + c + d + e;
+ };
+}
function Nob(b,a) {
var c;
- if (b==2) {
- c=new O;
+ if (b == 2) {
+ c = new O;
c.append(gp,
yE,
W,
- LA+(a.Un+(zE+(Fp+(LA+(a.Im+(zE+(AE+(LA+(a.total+Gob))))))))),
+ LA + (a.Un +
+ (zE +
+ (Fp +
+ (LA + (a.Im + (zE + (AE + (LA + (a.total + Gob))))))))),
p);
- c=c.toString();
+ c = c.toString();
} else {
- if (b==1) {
- if(a.total>=2E6) {
- c=new O;
- c.append(gp,yE,W,LA+(a.Un+(zE+(Fp+(LA+(a.Im+Hob))))),p);
- c=c.toString();
+ if (b == 1) {
+ if (a.total >= 2E6) {
+ c = new O;
+ c.append(gp, yE, W, LA + (a.Un + (zE + (Fp + (LA + (a.Im + Hob))))), p);
+ c = c.toString();
} else {
- if(a.total>=2E5) {
- c=new O;
- c.append(gp,yE,W,LA+(a.Un+(zE+(Fp+(LA+(a.Im+Iob))))),p);
- c=c.toString();
+ if (a.total >= 2E5) {
+ c = new O;
+ c.append(gp, yE, W,
+ LA + (a.Un + (zE + (Fp + (LA + (a.Im + Iob))))), p);
+ c = c.toString();
} else {
- if(a.total>=2E4) {
- c=new O;
- c.append(gp,yE,W,LA+(a.Un+(zE+(Fp+(LA+(a.Im+Job))))),p);
- c=c.toString();
+ if (a.total >= 2E4) {
+ c = new O;
+ c.append(gp, yE, W,
+ LA+(a.Un + (zE + (Fp + (LA + (a.Im + Job))))), p);
+ c = c.toString();
} else {
- if(a.total>=2E3) {
- c=new O;
- c.append(gp,yE,W,LA+(a.Un+(zE+(Fp+(LA+(a.Im+Kob))))),p);
- c=c.toString();
+ if (a.total >= 2E3) {
+ c = new O;
+ c.append(gp, yE, W,
+ LA + (a.Un + (zE + (Fp + (LA + (a.Im + Kob))))), p);
+ c = c.toString();
} else {
- if(a.total>=200) {
- c=new O;
- c.append(gp,yE,W,LA+(a.Un+(zE+(Fp+(LA+(a.Im+Lob))))),p);
- c=c.toString();
+ if (a.total >= 200) {
+ c = new O;
+ c.append(gp, yE, W,
+ LA + (a.Un + (zE + (Fp + (LA + (a.Im + Lob))))), p);
+ c = c.toString();
} else {
- c=new O;
- c.append(gp,yE,W,
- LA+(a.Un+(zE+(Fp+(LA+(a.Im+(zE+(Mob+(LA+(a.total+zE))))))))),
+ c = new O;
+ c.append(gp, yE, W,
+ LA + (a.Un +
+ (zE +
+ (Fp +
+ (LA +
+ (a.Im +
+ (zE + (Mob + (LA + (a.total + zE))))))))),
p);
- c=c.toString();
+ c = c.toString();
}
- c=c;
+ c = c;
}
- c=c;
+ c = c;
}
- c=c;
+ c = c;
}
- c=c;
+ c = c;
}
- c=c;
+ c = c;
} else {
- c=new O;
- c.append(gp,yE,W,
- LA+(a.Un+(zE+(Fp+(LA+(a.Im+(zE+(AE+(LA+(a.total+zE))))))))),
+ c = new O;
+ c.append(gp, yE, W,
+ LA + (a.Un +
+ (zE +
+ (Fp +
+ (LA + (a.Im + (zE + (AE + (LA + (a.total + zE))))))))),
p);
- c=c.toString();
+ c = c.toString();
}
- c=c;
+ c = c;
}
return c;
}
-Nob(2, { Un: "" , Im: "" , total: 42});
+Nob(2, { Un: "" , Im: "" , total: 42 });
« no previous file with comments | « test/mjsunit/compiler/regress-5.js ('k') | test/mjsunit/compiler/regress-closures-with-eval.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698