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

Unified Diff: test/mjsunit/compiler/regress-serialized-slots.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
Index: test/mjsunit/compiler/regress-serialized-slots.js
diff --git a/test/mjsunit/compiler/regress-serialized-slots.js b/test/mjsunit/compiler/regress-serialized-slots.js
index 0bd7528f10037357e4cea2d9ef2bbbd8239d3b1f..6bf9efb8584f765347a23b61917f751da9297511 100644
--- a/test/mjsunit/compiler/regress-serialized-slots.js
+++ b/test/mjsunit/compiler/regress-serialized-slots.js
@@ -34,19 +34,17 @@ function runner(f, expected) {
}
}
-Function.prototype.bind = function(thisObject)
-{
- var func = this;
- var args = Array.prototype.slice.call(arguments, 1);
- function bound()
- {
- // Note outer function parameter access (|thisObject|).
- return func.apply(
- thisObject,
- args.concat(Array.prototype.slice.call(arguments, 0)));
- }
- return bound;
-}
+Function.prototype.bind = function(thisObject) {
+ var func = this;
+ var args = Array.prototype.slice.call(arguments, 1);
+ function bound() {
+ // Note outer function parameter access (|thisObject|).
+ return func.apply(
+ thisObject,
+ args.concat(Array.prototype.slice.call(arguments, 0)));
+ }
+ return bound;
+};
function sum(x, y) {
return x + y;
« no previous file with comments | « test/mjsunit/compiler/regress-lbranch-double.js ('k') | test/mjsunit/compiler/regress-stacktrace-methods.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698