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

Unified Diff: test/mjsunit/regress/regress-612.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/regress/regress-540.js ('k') | test/mjsunit/regress/regress-636.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-612.js
diff --git a/test/mjsunit/regress/regress-612.js b/test/mjsunit/regress/regress-612.js
index aee6d530b6f36bb9308fa897f93a20ede9e7d231..025009c382d9dc5694f286590c07aefad8000d20 100644
--- a/test/mjsunit/regress/regress-612.js
+++ b/test/mjsunit/regress/regress-612.js
@@ -29,16 +29,16 @@
// mode of the objects due to series of assignments optimization.
// (See http://code.google.com/p/v8/issues/detail?id=612)
-obj = {}
+obj = {};
// Define getter which currently moves object into slow mode.
-obj.__defineGetter__('foobar', function() { return 42; })
+obj.__defineGetter__('foobar', function() { return 42; });
// Starts initialization block mode. And turns object into slow mode.
-obj.a = 1
+obj.a = 1;
obj.b = 2;
obj.c = 3;
// Now object is turned into fast mode, but it has getter defined above...
// Now assert is triggered.
-obj.__defineGetter__('foobar', function() { return 42; })
+obj.__defineGetter__('foobar', function() { return 42; });
« no previous file with comments | « test/mjsunit/regress/regress-540.js ('k') | test/mjsunit/regress/regress-636.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698