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

Unified Diff: test/mjsunit/compiler/inline-two.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/inline-context-slots.js ('k') | test/mjsunit/compiler/literals.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/compiler/inline-two.js
diff --git a/test/mjsunit/compiler/inline-two.js b/test/mjsunit/compiler/inline-two.js
index 68372a979e0abfa9ad23e119681da868418971eb..744f2acdfdcf58d9b8e0c46cc3ead1f280c5531d 100644
--- a/test/mjsunit/compiler/inline-two.js
+++ b/test/mjsunit/compiler/inline-two.js
@@ -42,7 +42,7 @@ function TestInlineX(o) {
}
var o2 = {};
-o2.size = function() { return 42; }
+o2.size = function() { return 42; };
o2.g = function() { return this.size(); };
for (var i = 0; i < 5; i++) TestInlineX(o2);
%OptimizeFunctionOnNextCall(TestInlineX);
@@ -64,8 +64,8 @@ function TestInlineX2(o) {
}
}
-var obj = {}
-obj.foo = function() { return 42; }
+var obj = {};
+obj.foo = function() { return 42; };
var o3 = {};
o3.v = obj;
o3.h = function() { return this.v.foo(); };
@@ -89,11 +89,11 @@ function TestInlineFG(o) {
}
}
-var obj = {}
-obj.g = function() { return 42; }
+var obj = {};
+obj.g = function() { return 42; };
var o3 = {};
o3.v = obj;
-o3.f = function() { return this.v; }
+o3.f = function() { return this.v; };
o3.h = function() { return this.f().g(); };
for (var i = 0; i < 5; i++) TestInlineFG(o3);
%OptimizeFunctionOnNextCall(TestInlineFG);
« no previous file with comments | « test/mjsunit/compiler/inline-context-slots.js ('k') | test/mjsunit/compiler/literals.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698