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

Unified Diff: test/mjsunit/compiler/count-deopt.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/compare.js ('k') | test/mjsunit/compiler/global-accessors.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/compiler/count-deopt.js
diff --git a/test/mjsunit/compiler/count-deopt.js b/test/mjsunit/compiler/count-deopt.js
index 415dadc0cf43d4749456a13ff15d7221ed1b72a6..55558beed90d774888c6d925602d27e6d3910aaf 100644
--- a/test/mjsunit/compiler/count-deopt.js
+++ b/test/mjsunit/compiler/count-deopt.js
@@ -40,7 +40,7 @@ assertEquals(2.1, o.x);
// Test deopt with count operation on named property.
-function inc2(p) { p.x++ }
+function inc2(p) { p.x++; }
o.x = "42";
inc2(o);
@@ -158,9 +158,9 @@ q[0] = 42.1;
assertEquals(44.1, inc9(q, 1));
// Test deopt because of a failed map check.
-function inc10(p) { return p.x++ }
+function inc10(p) { return p.x++; }
var g1 = {x:0};
-var g2 = {y:0, x:42}
+var g2 = {y:0, x:42};
for (var i = 0; i < 5; ++i) {
g1.x = 42;
assertEquals(42, inc10(g1));
« no previous file with comments | « test/mjsunit/compiler/compare.js ('k') | test/mjsunit/compiler/global-accessors.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698