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

Unified Diff: test/mjsunit/megamorphic-callbacks.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/math-abs.js ('k') | test/mjsunit/mirror-array.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/megamorphic-callbacks.js
diff --git a/test/mjsunit/megamorphic-callbacks.js b/test/mjsunit/megamorphic-callbacks.js
index 8829df0f6c944e8a7f38c6491615d71cfd615f57..d9ed63f9ccc3ce9af4af23bd40d9e4b65688bdf5 100644
--- a/test/mjsunit/megamorphic-callbacks.js
+++ b/test/mjsunit/megamorphic-callbacks.js
@@ -27,15 +27,15 @@
function load(o) {
return o.x;
-};
+}
function store(o) {
o.y = 42;
-};
+}
function call(o) {
return o.f();
-};
+}
// Create a slow-case object (with hashed properties).
var o = { x: 42, f: function() { }, z: 100 };
@@ -53,7 +53,7 @@ var o = { z: 100 };
delete o.z;
o.__defineGetter__("x", function() { return 100; });
o.__defineSetter__("y", function(value) { this.y_mirror = value; });
-o.__defineGetter__("f", function() { return function() { return 300; }});
+o.__defineGetter__("f", function() { return function() { return 300; };});
// Perform the load checks.
assertEquals(100, o.x, "normal load");
« no previous file with comments | « test/mjsunit/math-abs.js ('k') | test/mjsunit/mirror-array.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698