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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 23 matching lines...) Expand all
34 var Fp = ""; 34 var Fp = "";
35 var AE = ""; 35 var AE = "";
36 var Gob = ""; 36 var Gob = "";
37 var Hob = ""; 37 var Hob = "";
38 var Iob = ""; 38 var Iob = "";
39 var Job = ""; 39 var Job = "";
40 var Kob = ""; 40 var Kob = "";
41 var Lob = ""; 41 var Lob = "";
42 var Mob = ""; 42 var Mob = "";
43 var p = ""; 43 var p = "";
44 function O() { this.append = function(a,b,c,d,e) { return a + b + c + d + e; } } 44 function O() {
45 this.append = function(a, b, c, d, e) {
46 return a + b + c + d + e;
47 };
48 }
45 49
46 function Nob(b,a) { 50 function Nob(b,a) {
47 var c; 51 var c;
48 if (b==2) { 52 if (b == 2) {
49 c=new O; 53 c = new O;
50 c.append(gp, 54 c.append(gp,
51 yE, 55 yE,
52 W, 56 W,
53 LA+(a.Un+(zE+(Fp+(LA+(a.Im+(zE+(AE+(LA+(a.total+Gob))))))))), 57 LA + (a.Un +
58 (zE +
59 (Fp +
60 (LA + (a.Im + (zE + (AE + (LA + (a.total + Gob))))))))),
54 p); 61 p);
55 c=c.toString(); 62 c = c.toString();
56 } else { 63 } else {
57 if (b==1) { 64 if (b == 1) {
58 if(a.total>=2E6) { 65 if (a.total >= 2E6) {
59 c=new O; 66 c = new O;
60 c.append(gp,yE,W,LA+(a.Un+(zE+(Fp+(LA+(a.Im+Hob))))),p); 67 c.append(gp, yE, W, LA + (a.Un + (zE + (Fp + (LA + (a.Im + Hob))))), p);
61 c=c.toString(); 68 c = c.toString();
62 } else { 69 } else {
63 if(a.total>=2E5) { 70 if (a.total >= 2E5) {
64 c=new O; 71 c = new O;
65 c.append(gp,yE,W,LA+(a.Un+(zE+(Fp+(LA+(a.Im+Iob))))),p); 72 c.append(gp, yE, W,
66 c=c.toString(); 73 LA + (a.Un + (zE + (Fp + (LA + (a.Im + Iob))))), p);
74 c = c.toString();
67 } else { 75 } else {
68 if(a.total>=2E4) { 76 if (a.total >= 2E4) {
69 c=new O; 77 c = new O;
70 c.append(gp,yE,W,LA+(a.Un+(zE+(Fp+(LA+(a.Im+Job))))),p); 78 c.append(gp, yE, W,
71 c=c.toString(); 79 LA+(a.Un + (zE + (Fp + (LA + (a.Im + Job))))), p);
80 c = c.toString();
72 } else { 81 } else {
73 if(a.total>=2E3) { 82 if (a.total >= 2E3) {
74 c=new O; 83 c = new O;
75 c.append(gp,yE,W,LA+(a.Un+(zE+(Fp+(LA+(a.Im+Kob))))),p); 84 c.append(gp, yE, W,
76 c=c.toString(); 85 LA + (a.Un + (zE + (Fp + (LA + (a.Im + Kob))))), p);
86 c = c.toString();
77 } else { 87 } else {
78 if(a.total>=200) { 88 if (a.total >= 200) {
79 c=new O; 89 c = new O;
80 c.append(gp,yE,W,LA+(a.Un+(zE+(Fp+(LA+(a.Im+Lob))))),p); 90 c.append(gp, yE, W,
81 c=c.toString(); 91 LA + (a.Un + (zE + (Fp + (LA + (a.Im + Lob))))), p);
92 c = c.toString();
82 } else { 93 } else {
83 c=new O; 94 c = new O;
84 c.append(gp,yE,W, 95 c.append(gp, yE, W,
85 LA+(a.Un+(zE+(Fp+(LA+(a.Im+(zE+(Mob+(LA+(a.total+zE))))) )))), 96 LA + (a.Un +
97 (zE +
98 (Fp +
99 (LA +
100 (a.Im +
101 (zE + (Mob + (LA + (a.total + zE))))))))),
86 p); 102 p);
87 c=c.toString(); 103 c = c.toString();
88 } 104 }
89 c=c; 105 c = c;
90 } 106 }
91 c=c; 107 c = c;
92 } 108 }
93 c=c; 109 c = c;
94 } 110 }
95 c=c; 111 c = c;
96 } 112 }
97 c=c; 113 c = c;
98 } else { 114 } else {
99 c=new O; 115 c = new O;
100 c.append(gp,yE,W, 116 c.append(gp, yE, W,
101 LA+(a.Un+(zE+(Fp+(LA+(a.Im+(zE+(AE+(LA+(a.total+zE))))))))), 117 LA + (a.Un +
118 (zE +
119 (Fp +
120 (LA + (a.Im + (zE + (AE + (LA + (a.total + zE))))))))),
102 p); 121 p);
103 c=c.toString(); 122 c = c.toString();
104 } 123 }
105 c=c; 124 c = c;
106 } 125 }
107 return c; 126 return c;
108 } 127 }
109 Nob(2, { Un: "" , Im: "" , total: 42}); 128 Nob(2, { Un: "" , Im: "" , total: 42 });
OLDNEW
« 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