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

Unified Diff: test/mjsunit/keyed-ic.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-call-ic.js ('k') | test/mjsunit/leakcheck.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/keyed-ic.js
diff --git a/test/mjsunit/keyed-ic.js b/test/mjsunit/keyed-ic.js
index a6726ed49270b7c10451a94ad1539147e1d193a7..2af5fdf2f47afa86729fa266a62d00685b317bab 100644
--- a/test/mjsunit/keyed-ic.js
+++ b/test/mjsunit/keyed-ic.js
@@ -55,7 +55,7 @@ var runTest = function() {
f.prototype = 43;
for (var i = 0; i < 10; i++) prototypeTest(i);
-}
+};
runTest();
@@ -83,7 +83,7 @@ runTest = function() {
}
for (var i = 0; i < 10; i++) arrayLengthTest(i);
-}
+};
runTest();
@@ -95,7 +95,7 @@ runTest = function() {
var L = initial_L;
var zero = '0';
- var s = "asdf"
+ var s = "asdf";
function stringLengthTest(change_index) {
for (var i = 0; i < 10; i++) {
@@ -111,7 +111,7 @@ runTest = function() {
}
for (var i = 0; i < 10; i++) stringLengthTest(i);
-}
+};
runTest();
@@ -119,7 +119,7 @@ runTest();
// Field access.
// ----------------------------------------------------------------------
runTest = function() {
- var o = { x: 42, y: 43 }
+ var o = { x: 42, y: 43 };
var initial_X = 'x';
var X = initial_X;
@@ -136,10 +136,10 @@ runTest = function() {
if (i == change_index) X = Y;
}
X = initial_X;
- };
+ }
for (var i = 0; i < 10; i++) fieldTest(i);
-}
+};
runTest();
@@ -165,10 +165,10 @@ runTest = function() {
if (i == change_index) X = Y;
}
X = initial_X;
- };
+ }
for (var i = 0; i < 10; i++) fieldTest(i);
-}
+};
runTest();
@@ -177,7 +177,7 @@ runTest();
// Constant function access.
// ----------------------------------------------------------------------
runTest = function() {
- function fun() { };
+ function fun() { }
var o = new Object();
o.f = fun;
@@ -185,7 +185,7 @@ runTest = function() {
var initial_F = 'f';
var F = initial_F;
- var X = 'x'
+ var X = 'x';
function constantFunctionTest(change_index) {
for (var i = 0; i < 10; i++) {
@@ -198,10 +198,10 @@ runTest = function() {
if (i == change_index) F = X;
}
F = initial_F;
- };
+ }
for (var i = 0; i < 10; i++) constantFunctionTest(i);
-}
+};
runTest();
@@ -210,7 +210,7 @@ runTest();
// ----------------------------------------------------------------------
runTest = function() {
- var o = { x: 42, y: 43 }
+ var o = { x: 42, y: 43 };
var initial_X = 'x';
var X = initial_X;
@@ -228,9 +228,9 @@ runTest = function() {
if (i == change_index) X = Y;
}
X = initial_X;
- };
+ }
for (var i = 0; i < 10; i++) fieldTest(i);
-}
+};
runTest();
« no previous file with comments | « test/mjsunit/keyed-call-ic.js ('k') | test/mjsunit/leakcheck.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698