Version 3.23.11
Deprecate old versions of Isolate::SetData and GetData.
Performance and stability improvements on all platforms.
git-svn-id: http://v8.googlecode.com/svn/trunk@18041 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/test/mjsunit/arguments-load-across-eval.js b/test/mjsunit/arguments-load-across-eval.js
index e97c113..295b62c 100644
--- a/test/mjsunit/arguments-load-across-eval.js
+++ b/test/mjsunit/arguments-load-across-eval.js
@@ -82,5 +82,3 @@
}
testShadowing(1, function() { return 2; });
-
-
diff --git a/test/mjsunit/arguments-read-and-assignment.js b/test/mjsunit/arguments-read-and-assignment.js
index c5d34bf..fba052b 100644
--- a/test/mjsunit/arguments-read-and-assignment.js
+++ b/test/mjsunit/arguments-read-and-assignment.js
@@ -161,4 +161,4 @@
var args1 = weirdargs(false, null, 40);
var res = weirdargs(true, args1, 15);
assertEquals(40, res[0], "return old args element");
-assertEquals(15, res[1], "return own args element");
\ No newline at end of file
+assertEquals(15, res[1], "return own args element");
diff --git a/test/mjsunit/arguments.js b/test/mjsunit/arguments.js
index 78b7722..56c1d72 100644
--- a/test/mjsunit/arguments.js
+++ b/test/mjsunit/arguments.js
@@ -187,4 +187,4 @@
function arg_set(x) { return (arguments[x] = 117); }
assertEquals(undefined, arg_get(0xFFFFFFFF));
assertEquals(true, arg_del(0xFFFFFFFF));
-assertEquals(117, arg_set(0xFFFFFFFF));
\ No newline at end of file
+assertEquals(117, arg_set(0xFFFFFFFF));
diff --git a/test/mjsunit/array-iteration.js b/test/mjsunit/array-iteration.js
index 033bb54..d11f984 100644
--- a/test/mjsunit/array-iteration.js
+++ b/test/mjsunit/array-iteration.js
@@ -225,4 +225,3 @@
assertEquals(2, count);
})();
-
diff --git a/test/mjsunit/array-non-smi-length.js b/test/mjsunit/array-non-smi-length.js
index 23a25ee..11277af 100644
--- a/test/mjsunit/array-non-smi-length.js
+++ b/test/mjsunit/array-non-smi-length.js
@@ -43,4 +43,3 @@
}
TestNonSmiArrayLength();
-
diff --git a/test/mjsunit/array-tostring.js b/test/mjsunit/array-tostring.js
index 6708657..5be3d50 100644
--- a/test/mjsunit/array-tostring.js
+++ b/test/mjsunit/array-tostring.js
@@ -156,4 +156,4 @@
}});
}
Number.prototype.arrayToLocaleString = Array.prototype.toLocaleString;
-assertEquals("42,42,42", (42).arrayToLocaleString());
\ No newline at end of file
+assertEquals("42,42,42", (42).arrayToLocaleString());
diff --git a/test/mjsunit/bugs/bug-1344252.js b/test/mjsunit/bugs/bug-1344252.js
index 1723834..747ce19 100644
--- a/test/mjsunit/bugs/bug-1344252.js
+++ b/test/mjsunit/bugs/bug-1344252.js
@@ -76,4 +76,3 @@
o2.z = 27;
assertEquals(27, result_z);
assertTrue(typeof o2.z == 'undefined');
-
diff --git a/test/mjsunit/bugs/bug-proto.js b/test/mjsunit/bugs/bug-proto.js
index 149088e..5638336 100644
--- a/test/mjsunit/bugs/bug-proto.js
+++ b/test/mjsunit/bugs/bug-proto.js
@@ -59,4 +59,3 @@
Realm.eval(realmB, "Realm.shared.__proto__ = {c: 3}");
assertSame(1, o.a);
assertSame(undefined, o.c);
-
diff --git a/test/mjsunit/closures.js b/test/mjsunit/closures.js
index 7c11971..5ce26ca 100644
--- a/test/mjsunit/closures.js
+++ b/test/mjsunit/closures.js
@@ -44,4 +44,3 @@
test(1);
test(42);
test(239);
-
diff --git a/test/mjsunit/compare-character.js b/test/mjsunit/compare-character.js
index cabe013..8c812ee 100644
--- a/test/mjsunit/compare-character.js
+++ b/test/mjsunit/compare-character.js
@@ -47,4 +47,3 @@
assertEquals(f < x, 'f' < x, ">r" + x);
assertEquals(f <= x, 'f' <= x, ">=r" + x);
}
-
diff --git a/test/mjsunit/compare-nan.js b/test/mjsunit/compare-nan.js
index c4f7817..a4224ff 100644
--- a/test/mjsunit/compare-nan.js
+++ b/test/mjsunit/compare-nan.js
@@ -63,4 +63,3 @@
"assertFalse(" + x + " >= NaN, '' + " + x + " + ' >= NaN');\n";
eval(program);
}
-
diff --git a/test/mjsunit/compiler/control-flow-1.js b/test/mjsunit/compiler/control-flow-1.js
index 973d9b6..ca7ad87 100644
--- a/test/mjsunit/compiler/control-flow-1.js
+++ b/test/mjsunit/compiler/control-flow-1.js
@@ -52,4 +52,4 @@
}
assertTrue(g1(0, 0));
-assertFalse(g1(0, 1));
\ No newline at end of file
+assertFalse(g1(0, 1));
diff --git a/test/mjsunit/compiler/inline-throw.js b/test/mjsunit/compiler/inline-throw.js
index e3aab39..099b9d3 100644
--- a/test/mjsunit/compiler/inline-throw.js
+++ b/test/mjsunit/compiler/inline-throw.js
@@ -66,4 +66,3 @@
} catch(e) {
assertEquals("wow", e);
}
-
diff --git a/test/mjsunit/compiler/lazy-const-lookup.js b/test/mjsunit/compiler/lazy-const-lookup.js
index b4f15a1..ff4558e 100644
--- a/test/mjsunit/compiler/lazy-const-lookup.js
+++ b/test/mjsunit/compiler/lazy-const-lookup.js
@@ -38,4 +38,3 @@
}
outer();
-
diff --git a/test/mjsunit/compiler/optimized-closures.js b/test/mjsunit/compiler/optimized-closures.js
index eaf75f8..499e4d5 100644
--- a/test/mjsunit/compiler/optimized-closures.js
+++ b/test/mjsunit/compiler/optimized-closures.js
@@ -51,7 +51,3 @@
assertEquals(42, a[0]);
assertEquals(49, a[7]);
assertEquals(-19, a[23]);
-
-
-
-
diff --git a/test/mjsunit/compiler/regress-1394.js b/test/mjsunit/compiler/regress-1394.js
index b1ce192..fbf4357 100644
--- a/test/mjsunit/compiler/regress-1394.js
+++ b/test/mjsunit/compiler/regress-1394.js
@@ -56,4 +56,3 @@
assertEquals(0, f(0));
assertEquals(1, f(1));
-
diff --git a/test/mjsunit/compiler/regress-3260426.js b/test/mjsunit/compiler/regress-3260426.js
index dfef424..457064d 100644
--- a/test/mjsunit/compiler/regress-3260426.js
+++ b/test/mjsunit/compiler/regress-3260426.js
@@ -33,4 +33,3 @@
function test() { return always_false() ? 0 : 1; }
assertEquals(1, test());
-
diff --git a/test/mjsunit/compiler/regress-closures-with-eval.js b/test/mjsunit/compiler/regress-closures-with-eval.js
index 57afb16..d95d128 100644
--- a/test/mjsunit/compiler/regress-closures-with-eval.js
+++ b/test/mjsunit/compiler/regress-closures-with-eval.js
@@ -53,4 +53,4 @@
withEval(expr, function(a) { return a; });
}
%OptimizeFunctionOnNextCall(withEval);
-withEval(expr, function(a) { return a; });
\ No newline at end of file
+withEval(expr, function(a) { return a; });
diff --git a/test/mjsunit/compiler/regress-inline-callfunctionstub.js b/test/mjsunit/compiler/regress-inline-callfunctionstub.js
index a39d26d..3365534 100644
--- a/test/mjsunit/compiler/regress-inline-callfunctionstub.js
+++ b/test/mjsunit/compiler/regress-inline-callfunctionstub.js
@@ -43,4 +43,3 @@
main(o.g);
%OptimizeFunctionOnNextCall(main);
main(o.g);
-
diff --git a/test/mjsunit/compiler/regress-toint32.js b/test/mjsunit/compiler/regress-toint32.js
index 54c2f76..75892d4 100644
--- a/test/mjsunit/compiler/regress-toint32.js
+++ b/test/mjsunit/compiler/regress-toint32.js
@@ -42,4 +42,3 @@
assertEquals(G, f(G));
%OptimizeFunctionOnNextCall(f);
assertEquals(G, f(G));
-
diff --git a/test/mjsunit/compiler/rotate.js b/test/mjsunit/compiler/rotate.js
index 2f4bc5a..1c81e49 100644
--- a/test/mjsunit/compiler/rotate.js
+++ b/test/mjsunit/compiler/rotate.js
@@ -306,5 +306,3 @@
assertEquals(ROR4(0xFFFFFFFF, 40), ROR4_sa40(0xFFFFFFFF));
%OptimizeFunctionOnNextCall(ROR4_sa40);
assertEquals(ROR4(0xFFFFFFFF, 40), ROR4_sa40(0xFFFFFFFF));
-
-
diff --git a/test/mjsunit/const-declaration.js b/test/mjsunit/const-declaration.js
index 48c0cf2..e7bb678 100644
--- a/test/mjsunit/const-declaration.js
+++ b/test/mjsunit/const-declaration.js
@@ -169,4 +169,3 @@
}
f("const x = 0;");
})();
-
diff --git a/test/mjsunit/cyclic-array-to-string.js b/test/mjsunit/cyclic-array-to-string.js
index 0a2d6e3..ad77743 100644
--- a/test/mjsunit/cyclic-array-to-string.js
+++ b/test/mjsunit/cyclic-array-to-string.js
@@ -62,4 +62,3 @@
assertEquals("", a1.toString());
assertEquals("", a1.toLocaleString());
assertEquals("", a1.join());
-
diff --git a/test/mjsunit/debug-breakpoints.js b/test/mjsunit/debug-breakpoints.js
index 148acfc..a04fac5 100644
--- a/test/mjsunit/debug-breakpoints.js
+++ b/test/mjsunit/debug-breakpoints.js
@@ -222,4 +222,3 @@
Debug.BreakPositionAlignment.BreakPosition).indexOf(scenario[i][1]) > 0);
Debug.clearBreakPoint(bp1);
}
-
diff --git a/test/mjsunit/debug-constructor.js b/test/mjsunit/debug-constructor.js
index 38028aa..6d4e7f3 100644
--- a/test/mjsunit/debug-constructor.js
+++ b/test/mjsunit/debug-constructor.js
@@ -75,4 +75,4 @@
assertEquals("bbccdcb", call_graph);
// Get rid of the debug event listener.
-Debug.setListener(null);
\ No newline at end of file
+Debug.setListener(null);
diff --git a/test/mjsunit/debug-evaluate-const.js b/test/mjsunit/debug-evaluate-const.js
index cb9695b..7fad483 100644
--- a/test/mjsunit/debug-evaluate-const.js
+++ b/test/mjsunit/debug-evaluate-const.js
@@ -118,4 +118,3 @@
assertFalse(exception, "exception in listener")
assertTrue(listenerComplete);
-
diff --git a/test/mjsunit/debug-function-scopes.js b/test/mjsunit/debug-function-scopes.js
index 4262b95..b51e8b4 100644
--- a/test/mjsunit/debug-function-scopes.js
+++ b/test/mjsunit/debug-function-scopes.js
@@ -159,4 +159,3 @@
// This getter is known to be implemented as closure.
CheckNoScopeVisible(new Error().__lookupGetter__("stack"));
-
diff --git a/test/mjsunit/debug-ignore-breakpoints.js b/test/mjsunit/debug-ignore-breakpoints.js
index 96c6044..3cb283b 100644
--- a/test/mjsunit/debug-ignore-breakpoints.js
+++ b/test/mjsunit/debug-ignore-breakpoints.js
@@ -86,4 +86,3 @@
assertEquals(5, break_point_hit_count);
f();
assertEquals(6, break_point_hit_count);
-
diff --git a/test/mjsunit/debug-liveedit-3.js b/test/mjsunit/debug-liveedit-3.js
index b210657..023c94e 100644
--- a/test/mjsunit/debug-liveedit-3.js
+++ b/test/mjsunit/debug-liveedit-3.js
@@ -66,5 +66,3 @@
var z100 = Factory(100)();
assertEquals(102, z100());
-
-
diff --git a/test/mjsunit/debug-liveedit-check-stack.js b/test/mjsunit/debug-liveedit-check-stack.js
index df9e1cf..6948a70 100644
--- a/test/mjsunit/debug-liveedit-check-stack.js
+++ b/test/mjsunit/debug-liveedit-check-stack.js
@@ -138,4 +138,3 @@
exception_holder = {};
assertEquals("Cat", test.ChooseAnimal(WrapInNativeCall(WrapInDebuggerCall(WrapInCatcher(test.ScriptChanger, exception_holder)))));
assertTrue(!!exception_holder[0]);
-
diff --git a/test/mjsunit/debug-liveedit-compile-error.js b/test/mjsunit/debug-liveedit-compile-error.js
index 2fd6aed..99ac031 100644
--- a/test/mjsunit/debug-liveedit-compile-error.js
+++ b/test/mjsunit/debug-liveedit-compile-error.js
@@ -56,5 +56,3 @@
caught_exception.details.syntaxErrorMessage);
assertEquals(2, caught_exception.details.position.start.line);
-
-
diff --git a/test/mjsunit/debug-liveedit-diff.js b/test/mjsunit/debug-liveedit-diff.js
index 0d26a30..2fd2497 100644
--- a/test/mjsunit/debug-liveedit-diff.js
+++ b/test/mjsunit/debug-liveedit-diff.js
@@ -110,4 +110,3 @@
"yesterday\nall\nmy\ntroubles\nseemed\nso\nfar\naway",
"yesterday\nall\nmy\ntroubles\nseemed\nso\n"
);
-
diff --git a/test/mjsunit/debug-liveedit-utils.js b/test/mjsunit/debug-liveedit-utils.js
index c892ec9..8521a6d 100644
--- a/test/mjsunit/debug-liveedit-utils.js
+++ b/test/mjsunit/debug-liveedit-utils.js
@@ -93,5 +93,3 @@
assertEquals(2010, MultiChunkTranslator.Translate(60, Return2010));
assertEquals(70, MultiChunkTranslator.Translate(70));
assertEquals(75, MultiChunkTranslator.Translate(75));
-
-
diff --git a/test/mjsunit/debug-mirror-cache.js b/test/mjsunit/debug-mirror-cache.js
index 5b85306..07aaf88 100644
--- a/test/mjsunit/debug-mirror-cache.js
+++ b/test/mjsunit/debug-mirror-cache.js
@@ -82,4 +82,3 @@
assertEquals([], listenerExceptions, "Exception in listener");
// Make sure that the debug event listener vas invoked.
assertEquals(2, listenerCallCount, "Listener not called");
-
diff --git a/test/mjsunit/debug-setbreakpoint.js b/test/mjsunit/debug-setbreakpoint.js
index 8531c4e..bc23021 100644
--- a/test/mjsunit/debug-setbreakpoint.js
+++ b/test/mjsunit/debug-setbreakpoint.js
@@ -214,4 +214,3 @@
// moment. Since there's no way of simply getting the pointer to the function,
// we run this code while the script function is being activated on stack.
eval('SetBreakpointInI1Script()\nfunction i1(){}\n\n\n\nfunction i2(){}\n');
-
diff --git a/test/mjsunit/debug-stepin-positions.js b/test/mjsunit/debug-stepin-positions.js
index e6d8204..722df53 100644
--- a/test/mjsunit/debug-stepin-positions.js
+++ b/test/mjsunit/debug-stepin-positions.js
@@ -221,5 +221,3 @@
};
})(Object);
TestCaseWithDebugger(fun);
-
-
diff --git a/test/mjsunit/debug-stepout-scope-part1.js b/test/mjsunit/debug-stepout-scope-part1.js
index f2f9d91..f49b1a0 100644
--- a/test/mjsunit/debug-stepout-scope-part1.js
+++ b/test/mjsunit/debug-stepout-scope-part1.js
@@ -187,4 +187,4 @@
// With block as the last(!) statement in global code.
-with ({}) { debugger; }
\ No newline at end of file
+with ({}) { debugger; }
diff --git a/test/mjsunit/elide-double-hole-check-9.js b/test/mjsunit/elide-double-hole-check-9.js
index 88bbc7e..bbcbfb2 100644
--- a/test/mjsunit/elide-double-hole-check-9.js
+++ b/test/mjsunit/elide-double-hole-check-9.js
@@ -46,4 +46,3 @@
assertEquals(0.5, f(arr, 0));
do_set = true;
assertEquals(2, f(arr, 1));
-
diff --git a/test/mjsunit/enumeration-order.js b/test/mjsunit/enumeration-order.js
index a328121..70942ee 100644
--- a/test/mjsunit/enumeration-order.js
+++ b/test/mjsunit/enumeration-order.js
@@ -103,7 +103,3 @@
var actual = [];
for (var p in o) actual.push(p);
assertArrayEquals(expected, actual);
-
-
-
-
diff --git a/test/mjsunit/error-accessors.js b/test/mjsunit/error-accessors.js
index 9581050..cdaf080 100644
--- a/test/mjsunit/error-accessors.js
+++ b/test/mjsunit/error-accessors.js
@@ -51,4 +51,3 @@
o.message = "another message";
assertEquals("another message", o.message);
assertEquals("x is not defined", error2.message);
-
diff --git a/test/mjsunit/eval-stack-trace.js b/test/mjsunit/eval-stack-trace.js
index d83b84c..f95e50f 100644
--- a/test/mjsunit/eval-stack-trace.js
+++ b/test/mjsunit/eval-stack-trace.js
@@ -201,4 +201,3 @@
[true, false].verifyUndefined(frames, "getFileName");
["eval at <anonymous> ("].verifyContains(frames, "getEvalOrigin");
}
-
diff --git a/test/mjsunit/extra-arguments.js b/test/mjsunit/extra-arguments.js
index 186277a..2906367 100644
--- a/test/mjsunit/extra-arguments.js
+++ b/test/mjsunit/extra-arguments.js
@@ -50,5 +50,3 @@
}
assertEquals(expected, f.apply(null, array), String(i));
}
-
-
diff --git a/test/mjsunit/fast-array-length.js b/test/mjsunit/fast-array-length.js
index 42f2c38..3917d97 100644
--- a/test/mjsunit/fast-array-length.js
+++ b/test/mjsunit/fast-array-length.js
@@ -34,4 +34,3 @@
assertTrue(%HasFastSmiElements(a));
a.length = (1 << 30);
assertFalse(%HasFastSmiElements(a));
-
diff --git a/test/mjsunit/fast-literal.js b/test/mjsunit/fast-literal.js
index 8e53244..4fd92c4 100644
--- a/test/mjsunit/fast-literal.js
+++ b/test/mjsunit/fast-literal.js
@@ -37,6 +37,3 @@
for (var i=0; i<50; i++) {
f();
}
-
-
-
diff --git a/test/mjsunit/fun-name.js b/test/mjsunit/fun-name.js
index 676daaa..1688438 100644
--- a/test/mjsunit/fun-name.js
+++ b/test/mjsunit/fun-name.js
@@ -31,4 +31,3 @@
assertEquals('function(){}', strip((function () { }).toString()));
assertEquals('functionanonymous(){}', strip(new Function().toString()));
-
diff --git a/test/mjsunit/function.js b/test/mjsunit/function.js
index b5e83db..5c33762 100644
--- a/test/mjsunit/function.js
+++ b/test/mjsunit/function.js
@@ -80,4 +80,3 @@
f = new Function(x, y, z);
assertEquals(25, f(5, 5));
assertEquals(42, f(2, 21));
-
diff --git a/test/mjsunit/get-prototype-of.js b/test/mjsunit/get-prototype-of.js
index 6475bde..c2a492a 100644
--- a/test/mjsunit/get-prototype-of.js
+++ b/test/mjsunit/get-prototype-of.js
@@ -65,4 +65,3 @@
GetPrototypeOfObject({x:5});
GetPrototypeOfObject(F);
GetPrototypeOfObject(RegExp);
-
diff --git a/test/mjsunit/getter-in-value-prototype.js b/test/mjsunit/getter-in-value-prototype.js
index abe2cb1..8357106 100644
--- a/test/mjsunit/getter-in-value-prototype.js
+++ b/test/mjsunit/getter-in-value-prototype.js
@@ -32,4 +32,3 @@
String.prototype.__defineGetter__('x', function() { return this; });
assertEquals(Object('asdf'), 'asdf'.x);
-
diff --git a/test/mjsunit/global-load-from-eval-in-with.js b/test/mjsunit/global-load-from-eval-in-with.js
index d733f6c..a41ad7e 100644
--- a/test/mjsunit/global-load-from-eval-in-with.js
+++ b/test/mjsunit/global-load-from-eval-in-with.js
@@ -56,4 +56,3 @@
// in the eval scopes. Deeper nesting this time.
test({ x: 42 }, "function f() { function g() { eval('1'); assertEquals(42, x) }; g() }; f();");
test({ y: 42 }, "function f() { function g() { eval('1'); assertEquals(27, x) }; g() }; f();");
-
diff --git a/test/mjsunit/global-load-from-nested-eval.js b/test/mjsunit/global-load-from-nested-eval.js
index 3c7ff75..9c9b015 100644
--- a/test/mjsunit/global-load-from-nested-eval.js
+++ b/test/mjsunit/global-load-from-nested-eval.js
@@ -59,8 +59,3 @@
eval('eval(' + source +')');
}
testEvalDontShadow('assertEquals(42, x)');
-
-
-
-
-
diff --git a/test/mjsunit/harmony/array-find.js b/test/mjsunit/harmony/array-find.js
index 906c9cd..9f5750e 100644
--- a/test/mjsunit/harmony/array-find.js
+++ b/test/mjsunit/harmony/array-find.js
@@ -277,4 +277,4 @@
assertThrows('Array.prototype.find.apply({}, "", [])', TypeError);
assertThrows('Array.prototype.find.apply({}, {}, [])', TypeError);
assertThrows('Array.prototype.find.apply({}, [], [])', TypeError);
-assertThrows('Array.prototype.find.apply({}, /\d+/, [])', TypeError);
\ No newline at end of file
+assertThrows('Array.prototype.find.apply({}, /\d+/, [])', TypeError);
diff --git a/test/mjsunit/harmony/array-findindex.js b/test/mjsunit/harmony/array-findindex.js
index 928cad7..a33849d 100644
--- a/test/mjsunit/harmony/array-findindex.js
+++ b/test/mjsunit/harmony/array-findindex.js
@@ -277,4 +277,4 @@
assertThrows('Array.prototype.findIndex.apply({}, "", [])', TypeError);
assertThrows('Array.prototype.findIndex.apply({}, {}, [])', TypeError);
assertThrows('Array.prototype.findIndex.apply({}, [], [])', TypeError);
-assertThrows('Array.prototype.findIndex.apply({}, /\d+/, [])', TypeError);
\ No newline at end of file
+assertThrows('Array.prototype.findIndex.apply({}, /\d+/, [])', TypeError);
diff --git a/test/mjsunit/harmony/collections.js b/test/mjsunit/harmony/collections.js
index 174d3d1..04a5cdc 100644
--- a/test/mjsunit/harmony/collections.js
+++ b/test/mjsunit/harmony/collections.js
@@ -483,4 +483,4 @@
assertTrue(w.has(k));
w.clear();
assertFalse(w.has(k));
-})();
\ No newline at end of file
+})();
diff --git a/test/mjsunit/harmony/string-repeat.js b/test/mjsunit/harmony/string-repeat.js
index 182e5c0..761089b 100644
--- a/test/mjsunit/harmony/string-repeat.js
+++ b/test/mjsunit/harmony/string-repeat.js
@@ -71,4 +71,4 @@
repeat : String.prototype.repeat
};
assertEquals("abc", myobj.repeat(1));
-assertEquals("abcabc", myobj.repeat(2));
\ No newline at end of file
+assertEquals("abcabc", myobj.repeat(2));
diff --git a/test/mjsunit/large-object-literal.js b/test/mjsunit/large-object-literal.js
index 70a2769..47ba56e 100644
--- a/test/mjsunit/large-object-literal.js
+++ b/test/mjsunit/large-object-literal.js
@@ -53,4 +53,3 @@
for (var i = 0; i < sizes.length; i++) {
testLiteral(sizes[i]);
}
-
diff --git a/test/mjsunit/local-load-from-eval.js b/test/mjsunit/local-load-from-eval.js
index 0fdac9a..e07cd0d 100644
--- a/test/mjsunit/local-load-from-eval.js
+++ b/test/mjsunit/local-load-from-eval.js
@@ -36,4 +36,3 @@
test("(function() { assertEquals(27, x) })();");
test("(function() { var y = 42; eval('1'); assertEquals(42, y); })();");
test("(function() { var y = 42; eval('var y = 2; var z = 2;'); assertEquals(2, y); })();");
-
diff --git a/test/mjsunit/math-pow.js b/test/mjsunit/math-pow.js
index fb5f8a1..ffbf418 100644
--- a/test/mjsunit/math-pow.js
+++ b/test/mjsunit/math-pow.js
@@ -170,4 +170,4 @@
test();
test();
%OptimizeFunctionOnNextCall(test);
-test();
\ No newline at end of file
+test();
diff --git a/test/mjsunit/math-round.js b/test/mjsunit/math-round.js
index 102c970..7b87c07 100644
--- a/test/mjsunit/math-round.js
+++ b/test/mjsunit/math-round.js
@@ -170,5 +170,3 @@
testRound(min_smi31 + 1, min_smi31 + 0.5);
testRound(min_smi32, min_smi32 - 0.5);
testRound(min_smi32 + 1, min_smi32 + 0.5);
-
-
diff --git a/test/mjsunit/math-sqrt.js b/test/mjsunit/math-sqrt.js
index 43fbf6b..d5de2e9 100644
--- a/test/mjsunit/math-sqrt.js
+++ b/test/mjsunit/math-sqrt.js
@@ -50,4 +50,3 @@
test(Infinity, Infinity);
// -Infinity is smaller than 0 so it should return NaN
test(NaN, -Infinity);
-
diff --git a/test/mjsunit/mirror-boolean.js b/test/mjsunit/mirror-boolean.js
index 311c781..bbcec73 100644
--- a/test/mjsunit/mirror-boolean.js
+++ b/test/mjsunit/mirror-boolean.js
@@ -56,4 +56,4 @@
// Test all boolean values.
testBooleanMirror(true);
-testBooleanMirror(false);
\ No newline at end of file
+testBooleanMirror(false);
diff --git a/test/mjsunit/mirror-undefined.js b/test/mjsunit/mirror-undefined.js
index 7f63239..1d54b51 100644
--- a/test/mjsunit/mirror-undefined.js
+++ b/test/mjsunit/mirror-undefined.js
@@ -47,4 +47,4 @@
// Parse JSON representation and check.
var fromJSON = eval('(' + json + ')');
-assertEquals('undefined', fromJSON.type);
\ No newline at end of file
+assertEquals('undefined', fromJSON.type);
diff --git a/test/mjsunit/mjsunit.js b/test/mjsunit/mjsunit.js
index e5fb6c2..5f03774 100644
--- a/test/mjsunit/mjsunit.js
+++ b/test/mjsunit/mjsunit.js
@@ -393,4 +393,3 @@
}
})();
-
diff --git a/test/mjsunit/mul-exhaustive-part6.js b/test/mjsunit/mul-exhaustive-part6.js
index 91cb798..fb2b2ce 100644
--- a/test/mjsunit/mul-exhaustive-part6.js
+++ b/test/mjsunit/mul-exhaustive-part6.js
@@ -551,4 +551,4 @@
f(562949903089665, 16777215);
f(562949936644096, 16777216);
f(562949970198527, 16777217);
-f(1125899839733761, 33554431);
\ No newline at end of file
+f(1125899839733761, 33554431);
diff --git a/test/mjsunit/nans.js b/test/mjsunit/nans.js
index d212afd..987ad6e 100644
--- a/test/mjsunit/nans.js
+++ b/test/mjsunit/nans.js
@@ -97,7 +97,3 @@
}
TestFloatQuietNan();
-
-
-
-
diff --git a/test/mjsunit/never-optimize.js b/test/mjsunit/never-optimize.js
index 55b1f11..643588e 100644
--- a/test/mjsunit/never-optimize.js
+++ b/test/mjsunit/never-optimize.js
@@ -60,4 +60,4 @@
// 2 => not optimized.
assertUnoptimized(u1);
assertOptimized(u2);
-}
\ No newline at end of file
+}
diff --git a/test/mjsunit/new.js b/test/mjsunit/new.js
index 1062628..ca098a1 100644
--- a/test/mjsunit/new.js
+++ b/test/mjsunit/new.js
@@ -53,4 +53,3 @@
assertTrue(x === new Construct(x));
x = function() { };
assertTrue(x === new Construct(x));
-
diff --git a/test/mjsunit/newline-in-string.js b/test/mjsunit/newline-in-string.js
index 8c3ff86..e71d8cf 100644
--- a/test/mjsunit/newline-in-string.js
+++ b/test/mjsunit/newline-in-string.js
@@ -42,5 +42,3 @@
// Allow LF+CR in multiline string literals.
code = "'asdf\\" + String.fromCharCode(0xA) + String.fromCharCode(0xD) + "asdf'";
assertEquals('asdfasdf', eval(code));
-
-
diff --git a/test/mjsunit/number-tostring-func.js b/test/mjsunit/number-tostring-func.js
index c64706e..4fc97e5 100644
--- a/test/mjsunit/number-tostring-func.js
+++ b/test/mjsunit/number-tostring-func.js
@@ -362,6 +362,3 @@
// dtoa does not do this in its original form.
assertEquals("1.3", 1.25.toPrecision(2), "1.25.toPrecision(2)");
assertEquals("1.4", 1.35.toPrecision(2), "1.35.toPrecision(2)");
-
-
-
diff --git a/test/mjsunit/number-tostring-small.js b/test/mjsunit/number-tostring-small.js
index dbd2b59..068b3a4 100644
--- a/test/mjsunit/number-tostring-small.js
+++ b/test/mjsunit/number-tostring-small.js
@@ -392,4 +392,3 @@
(-91.1234).toPrecision(6);
(-91.1234).toPrecision(7);
(-91.1234).toPrecision(8);
-
diff --git a/test/mjsunit/number-tostring.js b/test/mjsunit/number-tostring.js
index 35e77e2..55655f4 100644
--- a/test/mjsunit/number-tostring.js
+++ b/test/mjsunit/number-tostring.js
@@ -335,6 +335,3 @@
// dtoa does not do this in its original form.
assertEquals("1.3", 1.25.toPrecision(2), "1.25.toPrecision(2)");
assertEquals("1.4", 1.35.toPrecision(2), "1.35.toPrecision(2)");
-
-
-
diff --git a/test/mjsunit/object-literal-conversions.js b/test/mjsunit/object-literal-conversions.js
index 742f814..7db2cf5 100644
--- a/test/mjsunit/object-literal-conversions.js
+++ b/test/mjsunit/object-literal-conversions.js
@@ -43,4 +43,3 @@
assertEquals(7, test5[13]);
assertEquals(7, test6[17.31]);
-
diff --git a/test/mjsunit/object-literal-gc.js b/test/mjsunit/object-literal-gc.js
index b9d6285..ddbeef6 100644
--- a/test/mjsunit/object-literal-gc.js
+++ b/test/mjsunit/object-literal-gc.js
@@ -63,4 +63,3 @@
for (var i = 0; i < sizes.length; i++) {
testLiteral(sizes[i]);
}
-
diff --git a/test/mjsunit/packed-elements.js b/test/mjsunit/packed-elements.js
index cfcdf80..4a87373 100644
--- a/test/mjsunit/packed-elements.js
+++ b/test/mjsunit/packed-elements.js
@@ -109,4 +109,3 @@
test_with_optimization(test5);
test_with_optimization(test6);
}
-
diff --git a/test/mjsunit/property-object-key.js b/test/mjsunit/property-object-key.js
index 5eb1e1b..3556cb9 100644
--- a/test/mjsunit/property-object-key.js
+++ b/test/mjsunit/property-object-key.js
@@ -33,4 +33,3 @@
assertEquals(87, object[key]);
object[key]++;
assertEquals(88, object[key]);
-
diff --git a/test/mjsunit/prototype.js b/test/mjsunit/prototype.js
index bfc1a79..a953422 100644
--- a/test/mjsunit/prototype.js
+++ b/test/mjsunit/prototype.js
@@ -89,5 +89,3 @@
test.__proto__ = (new Array()).__proto__;
test.length = 14;
assertEquals(14, test.length);
-
-
diff --git a/test/mjsunit/regexp-indexof.js b/test/mjsunit/regexp-indexof.js
index a504dd8..09f2fec 100644
--- a/test/mjsunit/regexp-indexof.js
+++ b/test/mjsunit/regexp-indexof.js
@@ -74,4 +74,4 @@
CheckMatch(/a|(?:)/g, "aba", [[0, 1], [1, 0], [2, 1], [3, 0]]);
CheckMatch(/a|(?:)/g, "baba", [[0, 0], [1, 1], [2, 0], [3, 1], [4, 0]]);
-CheckMatch(/a|(?:)/g, "bab", [[0, 0], [1, 1], [2, 0], [3, 0]]);
\ No newline at end of file
+CheckMatch(/a|(?:)/g, "bab", [[0, 0], [1, 1], [2, 0], [3, 0]]);
diff --git a/test/mjsunit/regexp-results-cache.js b/test/mjsunit/regexp-results-cache.js
index 7ee8c3f..9de8661 100644
--- a/test/mjsunit/regexp-results-cache.js
+++ b/test/mjsunit/regexp-results-cache.js
@@ -75,4 +75,3 @@
words[0] = "Enemies,";
words = string.split(" ");
assertEquals("Friends,", words[0]);
-
diff --git a/test/mjsunit/regress/regress-1017.js b/test/mjsunit/regress/regress-1017.js
index 3daf542..440449a 100644
--- a/test/mjsunit/regress/regress-1017.js
+++ b/test/mjsunit/regress/regress-1017.js
@@ -33,4 +33,3 @@
// to store the 33rd character. This fails an ASSERT in debug mode.
assertEquals(33, "12345678901234567890123456789012\u2028".length);
-
diff --git a/test/mjsunit/regress/regress-1039610.js b/test/mjsunit/regress/regress-1039610.js
index fd5c549..757801f 100644
--- a/test/mjsunit/regress/regress-1039610.js
+++ b/test/mjsunit/regress/regress-1039610.js
@@ -26,4 +26,4 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Make sure that the Debug object does not return to the global object
-assertTrue(typeof(Debug) === 'undefined');
\ No newline at end of file
+assertTrue(typeof(Debug) === 'undefined');
diff --git a/test/mjsunit/regress/regress-105.js b/test/mjsunit/regress/regress-105.js
index 9a4d5c4..8b8030f 100644
--- a/test/mjsunit/regress/regress-105.js
+++ b/test/mjsunit/regress/regress-105.js
@@ -41,4 +41,3 @@
assertEquals(2, Number(object));
assertEquals('I', String(object)[0]);
-
diff --git a/test/mjsunit/regress/regress-1066899.js b/test/mjsunit/regress/regress-1066899.js
index 37fd554..5840f26 100644
--- a/test/mjsunit/regress/regress-1066899.js
+++ b/test/mjsunit/regress/regress-1066899.js
@@ -34,4 +34,3 @@
}
Crash();
-
diff --git a/test/mjsunit/regress/regress-1092.js b/test/mjsunit/regress/regress-1092.js
index 00422cb..24efb37 100644
--- a/test/mjsunit/regress/regress-1092.js
+++ b/test/mjsunit/regress/regress-1092.js
@@ -32,4 +32,3 @@
this.x = 1;
this.y = 2;
this.z = 3;
-
diff --git a/test/mjsunit/regress/regress-1099.js b/test/mjsunit/regress/regress-1099.js
index 36f09e4..49e4a52 100644
--- a/test/mjsunit/regress/regress-1099.js
+++ b/test/mjsunit/regress/regress-1099.js
@@ -48,4 +48,4 @@
}
%OptimizeFunctionOnNextCall(y);
-assertTrue(y("foo"));
\ No newline at end of file
+assertTrue(y("foo"));
diff --git a/test/mjsunit/regress/regress-1112.js b/test/mjsunit/regress/regress-1112.js
index d780106..41c9193 100644
--- a/test/mjsunit/regress/regress-1112.js
+++ b/test/mjsunit/regress/regress-1112.js
@@ -33,4 +33,3 @@
{ configurable: true, enumerable: true, value: 3 });
assertEquals(3, this[1]);
assertTrue(this.hasOwnProperty("1"));
-
diff --git a/test/mjsunit/regress/regress-1114040.js b/test/mjsunit/regress/regress-1114040.js
index 9d1b320..ef7ee31 100644
--- a/test/mjsunit/regress/regress-1114040.js
+++ b/test/mjsunit/regress/regress-1114040.js
@@ -55,4 +55,3 @@
assertEquals("01", TestBreak());
assertEquals("01", TestContinue());
-
diff --git a/test/mjsunit/regress/regress-1117.js b/test/mjsunit/regress/regress-1117.js
index 981a1b7..664dadd 100644
--- a/test/mjsunit/regress/regress-1117.js
+++ b/test/mjsunit/regress/regress-1117.js
@@ -41,4 +41,3 @@
assertEquals(Infinity, 1/bar(5));
%OptimizeFunctionOnNextCall(bar);
assertEquals(-Infinity, 1/bar(-5));
-
diff --git a/test/mjsunit/regress/regress-1178598.js b/test/mjsunit/regress/regress-1178598.js
index 9caaec2..135c596 100644
--- a/test/mjsunit/regress/regress-1178598.js
+++ b/test/mjsunit/regress/regress-1178598.js
@@ -86,5 +86,3 @@
})();
assertEquals(87, value);
-
-
diff --git a/test/mjsunit/regress/regress-1181.js b/test/mjsunit/regress/regress-1181.js
index d45a0be..d5b8ab1 100644
--- a/test/mjsunit/regress/regress-1181.js
+++ b/test/mjsunit/regress/regress-1181.js
@@ -51,4 +51,4 @@
check(150);
check(200);
-check(350);
\ No newline at end of file
+check(350);
diff --git a/test/mjsunit/regress/regress-1246.js b/test/mjsunit/regress/regress-1246.js
index f3dbec6..ca425ec 100644
--- a/test/mjsunit/regress/regress-1246.js
+++ b/test/mjsunit/regress/regress-1246.js
@@ -80,4 +80,3 @@
assertEquals(0xaf, parseInt("0xaf", radix));
assertEquals(0xaf, parseInt("af", radix));
}
-
diff --git a/test/mjsunit/regress/regress-1254366.js b/test/mjsunit/regress/regress-1254366.js
index 2f9e011..9acda3c 100644
--- a/test/mjsunit/regress/regress-1254366.js
+++ b/test/mjsunit/regress/regress-1254366.js
@@ -35,4 +35,3 @@
var a = new Object();
assertEquals(gee, a.findOrStore());
assertEquals(gee, a.findOrStore());
-
diff --git a/test/mjsunit/regress/regress-131994.js b/test/mjsunit/regress/regress-131994.js
index 8347653..7f60095 100644
--- a/test/mjsunit/regress/regress-131994.js
+++ b/test/mjsunit/regress/regress-131994.js
@@ -67,4 +67,3 @@
h();
assertFalse(exception);
-
diff --git a/test/mjsunit/regress/regress-137.js b/test/mjsunit/regress/regress-137.js
index cc7b68c..f343eba 100644
--- a/test/mjsunit/regress/regress-137.js
+++ b/test/mjsunit/regress/regress-137.js
@@ -43,4 +43,3 @@
};
fail("case 10", "Default case", "Heap number not recognized as Smi value");
})();
-
diff --git a/test/mjsunit/regress/regress-1546.js b/test/mjsunit/regress/regress-1546.js
index 7f1fa58..3f1839c 100644
--- a/test/mjsunit/regress/regress-1546.js
+++ b/test/mjsunit/regress/regress-1546.js
@@ -29,4 +29,4 @@
// Should't throw. Scanner incorrectly truncated to char before comparing
// with "*", so it ended the comment early.
-eval("/*\u822a/ */");
\ No newline at end of file
+eval("/*\u822a/ */");
diff --git a/test/mjsunit/regress/regress-1591.js b/test/mjsunit/regress/regress-1591.js
index 69efd0b..dbf40df 100644
--- a/test/mjsunit/regress/regress-1591.js
+++ b/test/mjsunit/regress/regress-1591.js
@@ -45,4 +45,3 @@
var expected_message = "ReferenceError: f is not defined";
assertTrue(stack.indexOf(expected_message) >= 0);
assertFalse(used_custom_lookup);
-
diff --git a/test/mjsunit/regress/regress-1647.js b/test/mjsunit/regress/regress-1647.js
index a6afcc0..ab6608c 100644
--- a/test/mjsunit/regress/regress-1647.js
+++ b/test/mjsunit/regress/regress-1647.js
@@ -40,4 +40,3 @@
%OptimizeFunctionOnNextCall(f);
t.number = 2;
f();
-
diff --git a/test/mjsunit/regress/regress-166379.js b/test/mjsunit/regress/regress-166379.js
index b19afbd..2cda611 100644
--- a/test/mjsunit/regress/regress-166379.js
+++ b/test/mjsunit/regress/regress-166379.js
@@ -36,4 +36,3 @@
// Surprise mod with overflow.
assertEquals(-Infinity, 1/mod(-2147483648, -1));
-
diff --git a/test/mjsunit/regress/regress-1748.js b/test/mjsunit/regress/regress-1748.js
index e287e55..41b7c70 100644
--- a/test/mjsunit/regress/regress-1748.js
+++ b/test/mjsunit/regress/regress-1748.js
@@ -32,4 +32,4 @@
var str = Array(10000).join("X");
str.replace(/^|X/g, function(m, i, s) {
if (i > 0) assertEquals("X", m, "at position 0x" + i.toString(16));
-});
\ No newline at end of file
+});
diff --git a/test/mjsunit/regress/regress-1757.js b/test/mjsunit/regress/regress-1757.js
index f7a5516..35e7355 100644
--- a/test/mjsunit/regress/regress-1757.js
+++ b/test/mjsunit/regress/regress-1757.js
@@ -29,4 +29,4 @@
var a = "abcdefghijklmnopqrstuvqxy"+"z";
externalizeString(a, true);
-assertEquals('b', a.substring(1).charAt(0));
\ No newline at end of file
+assertEquals('b', a.substring(1).charAt(0));
diff --git a/test/mjsunit/regress/regress-1853.js b/test/mjsunit/regress/regress-1853.js
index cfafe82..7175688 100644
--- a/test/mjsunit/regress/regress-1853.js
+++ b/test/mjsunit/regress/regress-1853.js
@@ -113,4 +113,3 @@
test1();
test2();
assertEquals(3, break_count);
-
diff --git a/test/mjsunit/regress/regress-186.js b/test/mjsunit/regress/regress-186.js
index 335869d..0212855 100644
--- a/test/mjsunit/regress/regress-186.js
+++ b/test/mjsunit/regress/regress-186.js
@@ -69,4 +69,3 @@
runTest(testLocal);
runTest(testConstLocal);
runTest(testGlobal);
-
diff --git a/test/mjsunit/regress/regress-1919169.js b/test/mjsunit/regress/regress-1919169.js
index a732312..fbb82ba 100644
--- a/test/mjsunit/regress/regress-1919169.js
+++ b/test/mjsunit/regress/regress-1919169.js
@@ -37,4 +37,3 @@
// Crash does not occur when code is run at the top level.
test();
-
diff --git a/test/mjsunit/regress/regress-193.js b/test/mjsunit/regress/regress-193.js
index f803483..457c208 100644
--- a/test/mjsunit/regress/regress-193.js
+++ b/test/mjsunit/regress/regress-193.js
@@ -40,5 +40,3 @@
// The call to f should get the constructor of the receiver which is
// the constructor of the global object.
assertEquals(constructor, f());
-
-
diff --git a/test/mjsunit/regress/regress-20070207.js b/test/mjsunit/regress/regress-20070207.js
index b7f7a5c..701a079 100644
--- a/test/mjsunit/regress/regress-20070207.js
+++ b/test/mjsunit/regress/regress-20070207.js
@@ -39,4 +39,3 @@
assertFalse(f(-5));
assertFalse(f(0));
assertFalse(f(10));
-
diff --git a/test/mjsunit/regress/regress-2027.js b/test/mjsunit/regress/regress-2027.js
index 00ed03f..3f2062b 100644
--- a/test/mjsunit/regress/regress-2027.js
+++ b/test/mjsunit/regress/regress-2027.js
@@ -45,4 +45,3 @@
Check(d.setUTCDate(10));
Check(d.setUTCMonth(10));
Check(d.setUTCFullYear(2010));
-
diff --git a/test/mjsunit/regress/regress-2119.js b/test/mjsunit/regress/regress-2119.js
index 54840c2..b735ddf 100644
--- a/test/mjsunit/regress/regress-2119.js
+++ b/test/mjsunit/regress/regress-2119.js
@@ -33,4 +33,3 @@
}
assertThrows(strict_function);
-
diff --git a/test/mjsunit/regress/regress-2170.js b/test/mjsunit/regress/regress-2170.js
index 01cb1ea..99f432d 100644
--- a/test/mjsunit/regress/regress-2170.js
+++ b/test/mjsunit/regress/regress-2170.js
@@ -55,4 +55,3 @@
} catch (e) {
assertUnreachable();
}
-
diff --git a/test/mjsunit/regress/regress-2172.js b/test/mjsunit/regress/regress-2172.js
index 5d06f4e..6d93845 100644
--- a/test/mjsunit/regress/regress-2172.js
+++ b/test/mjsunit/regress/regress-2172.js
@@ -32,4 +32,3 @@
for (var i = 0; i < 10000; i++){
(i + "\u1234\0").split(/(.)\1/i);
}
-
diff --git a/test/mjsunit/regress/regress-2250.js b/test/mjsunit/regress/regress-2250.js
index 9d2fd44..88d4dd4 100644
--- a/test/mjsunit/regress/regress-2250.js
+++ b/test/mjsunit/regress/regress-2250.js
@@ -65,4 +65,3 @@
// function should no longer deopt when called.
test();
assertOptimized(test);
-
diff --git a/test/mjsunit/regress/regress-2285.js b/test/mjsunit/regress/regress-2285.js
index efda4cd..a0d628d 100644
--- a/test/mjsunit/regress/regress-2285.js
+++ b/test/mjsunit/regress/regress-2285.js
@@ -29,4 +29,3 @@
assertThrows(function() { %_CallFunction(null, 0, ""); });
assertThrows(function() { %_CallFunction(null, 0, 1); });
-
diff --git a/test/mjsunit/regress/regress-2289.js b/test/mjsunit/regress/regress-2289.js
index e89ec6e..d860bbb 100644
--- a/test/mjsunit/regress/regress-2289.js
+++ b/test/mjsunit/regress/regress-2289.js
@@ -30,5 +30,3 @@
foo = foo + 'b' + foo;
foo.replace(/b/, "a");
-
-
diff --git a/test/mjsunit/regress/regress-231.js b/test/mjsunit/regress/regress-231.js
index 0c6e5b3..bce0500 100644
--- a/test/mjsunit/regress/regress-231.js
+++ b/test/mjsunit/regress/regress-231.js
@@ -89,4 +89,4 @@
//Shouldn't crash.
var res = re.test(str);
-assertTrue(res);
\ No newline at end of file
+assertTrue(res);
diff --git a/test/mjsunit/regress/regress-2374.js b/test/mjsunit/regress/regress-2374.js
index b333720..f379cc5 100644
--- a/test/mjsunit/regress/regress-2374.js
+++ b/test/mjsunit/regress/regress-2374.js
@@ -31,4 +31,4 @@
var obj2 = JSON.parse(msg);
assertEquals(JSON.stringify(obj), JSON.stringify(obj2));
-assertEquals(JSON.stringify(obj, null, 0), JSON.stringify(obj2));
\ No newline at end of file
+assertEquals(JSON.stringify(obj, null, 0), JSON.stringify(obj2));
diff --git a/test/mjsunit/regress/regress-237617.js b/test/mjsunit/regress/regress-237617.js
index dabf828..7b7e50f 100644
--- a/test/mjsunit/regress/regress-237617.js
+++ b/test/mjsunit/regress/regress-237617.js
@@ -40,4 +40,3 @@
assertTrue(error_stack.indexOf("test stack") > 0);
assertTrue(error_stack.indexOf("illegal") < 0);
-
diff --git a/test/mjsunit/regress/regress-2419.js b/test/mjsunit/regress/regress-2419.js
index 9cd453a..4ffafbe 100644
--- a/test/mjsunit/regress/regress-2419.js
+++ b/test/mjsunit/regress/regress-2419.js
@@ -34,4 +34,3 @@
Object.freeze(b);
Array.prototype.sort.call(b);
assertPropertiesEqual({0: 5, 1: 4, 2: 3, 3: 2, 4: 1, 5: 0, length: 6}, b);
-
diff --git a/test/mjsunit/regress/regress-2438.js b/test/mjsunit/regress/regress-2438.js
index 3f4fd7d..7be7e71 100644
--- a/test/mjsunit/regress/regress-2438.js
+++ b/test/mjsunit/regress/regress-2438.js
@@ -49,4 +49,3 @@
testSideEffects("zzzz", /a/g);
testSideEffects("xaxa", /a/);
testSideEffects("xaxa", /a/g);
-
diff --git a/test/mjsunit/regress/regress-2444.js b/test/mjsunit/regress/regress-2444.js
index 8fb8d8b..41b6a95 100644
--- a/test/mjsunit/regress/regress-2444.js
+++ b/test/mjsunit/regress/regress-2444.js
@@ -116,5 +116,3 @@
object_factory(1, 0, [1, 0, 0]),
object_factory(2, 1, [1, 1, 0])));
assertFlags([1, 1, 1]);
-
-
diff --git a/test/mjsunit/regress/regress-246.js b/test/mjsunit/regress/regress-246.js
index 09b746b..22e29fd 100644
--- a/test/mjsunit/regress/regress-246.js
+++ b/test/mjsunit/regress/regress-246.js
@@ -28,4 +28,4 @@
// See: http://code.google.com/p/v8/issues/detail?id=246
assertTrue(/(?:text)/.test("text"));
-assertEquals(["text"], /(?:text)/.exec("text"));
\ No newline at end of file
+assertEquals(["text"], /(?:text)/.exec("text"));
diff --git a/test/mjsunit/regress/regress-2570.js b/test/mjsunit/regress/regress-2570.js
index 4e32a21..f1331e8 100644
--- a/test/mjsunit/regress/regress-2570.js
+++ b/test/mjsunit/regress/regress-2570.js
@@ -29,4 +29,4 @@
"\u00e6"]; // Latin-1 character.
assertEquals('["\u56e7","\u00e6"]', JSON.stringify(o));
-assertEquals('["\u56e7","\u00e6"]', JSON.stringify(o, null, 0));
\ No newline at end of file
+assertEquals('["\u56e7","\u00e6"]', JSON.stringify(o, null, 0));
diff --git a/test/mjsunit/regress/regress-2596.js b/test/mjsunit/regress/regress-2596.js
index 1d327fe..e700608 100644
--- a/test/mjsunit/regress/regress-2596.js
+++ b/test/mjsunit/regress/regress-2596.js
@@ -51,6 +51,3 @@
assertTrue(isNaN(boom(0)));
assertTrue(isNaN(boom(0)));
assertTrue(isNaN(boom(0)));
-
-
-
diff --git a/test/mjsunit/regress/regress-2624.js b/test/mjsunit/regress/regress-2624.js
index 2bfd7b2..fe94a10 100644
--- a/test/mjsunit/regress/regress-2624.js
+++ b/test/mjsunit/regress/regress-2624.js
@@ -33,4 +33,3 @@
}
source += '"';
eval(source);
-
diff --git a/test/mjsunit/regress/regress-2671-1.js b/test/mjsunit/regress/regress-2671-1.js
index 042a501..7937d6a 100644
--- a/test/mjsunit/regress/regress-2671-1.js
+++ b/test/mjsunit/regress/regress-2671-1.js
@@ -42,4 +42,3 @@
f();
%OptimizeFunctionOnNextCall(f);
f();
-
diff --git a/test/mjsunit/regress/regress-2671.js b/test/mjsunit/regress/regress-2671.js
index 8da1b8f..73a3098 100644
--- a/test/mjsunit/regress/regress-2671.js
+++ b/test/mjsunit/regress/regress-2671.js
@@ -42,4 +42,3 @@
f();
%OptimizeFunctionOnNextCall(f);
f();
-
diff --git a/test/mjsunit/regress/regress-2690.js b/test/mjsunit/regress/regress-2690.js
index 5fe7dc4..0ed4c5c 100644
--- a/test/mjsunit/regress/regress-2690.js
+++ b/test/mjsunit/regress/regress-2690.js
@@ -26,4 +26,3 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
assertTrue(/\1[a]/.test("\1a"));
-
diff --git a/test/mjsunit/regress/regress-298269.js b/test/mjsunit/regress/regress-298269.js
index 329ff82..f6604df 100644
--- a/test/mjsunit/regress/regress-298269.js
+++ b/test/mjsunit/regress/regress-298269.js
@@ -42,4 +42,4 @@
var s3 = "string for triggering osr in Cb";
for (var i = 0; i < 16; i++) s3 = s3 + s3;
Cb(s3);
-Cb(s1 + s2);
\ No newline at end of file
+Cb(s1 + s2);
diff --git a/test/mjsunit/regress/regress-2984.js b/test/mjsunit/regress/regress-2984.js
index de7895d..914409c 100644
--- a/test/mjsunit/regress/regress-2984.js
+++ b/test/mjsunit/regress/regress-2984.js
@@ -31,4 +31,3 @@
assertEquals("\xff", "\u0178".toLowerCase());
assertEquals("ABCDEFGHIJKLMN\u0178OPQ",
("abcdefghijk" + "lmn\xffopq").toUpperCase());
-
diff --git a/test/mjsunit/regress/regress-317.js b/test/mjsunit/regress/regress-317.js
index b742fa1..85f408b 100644
--- a/test/mjsunit/regress/regress-317.js
+++ b/test/mjsunit/regress/regress-317.js
@@ -28,4 +28,3 @@
// Ensure replacement with string allows $ in replacement string.
assertEquals("a$ec", "abc".replace("b", "$e"), "$e isn't meaningful");
-
diff --git a/test/mjsunit/regress/regress-319722-ArrayBuffer.js b/test/mjsunit/regress/regress-319722-ArrayBuffer.js
index 1849bd2..4a48a61 100644
--- a/test/mjsunit/regress/regress-319722-ArrayBuffer.js
+++ b/test/mjsunit/regress/regress-319722-ArrayBuffer.js
@@ -55,4 +55,3 @@
TestArray(Float32Array);
TestArray(Float64Array);
TestArray(Uint8ClampedArray);
-
diff --git a/test/mjsunit/regress/regress-45469.js b/test/mjsunit/regress/regress-45469.js
index 832a73f..1abe0f9 100644
--- a/test/mjsunit/regress/regress-45469.js
+++ b/test/mjsunit/regress/regress-45469.js
@@ -42,5 +42,3 @@
var res = re.test("xx");
assertEquals(i % 3 != 2, res, "testres" + i);
}
-
-
diff --git a/test/mjsunit/regress/regress-483.js b/test/mjsunit/regress/regress-483.js
index db93f59..7370134 100644
--- a/test/mjsunit/regress/regress-483.js
+++ b/test/mjsunit/regress/regress-483.js
@@ -32,4 +32,3 @@
X.prototype.x = {x:1}
new X()
-
diff --git a/test/mjsunit/regress/regress-588599.js b/test/mjsunit/regress/regress-588599.js
index a1c16e2..eece492 100644
--- a/test/mjsunit/regress/regress-588599.js
+++ b/test/mjsunit/regress/regress-588599.js
@@ -28,4 +28,3 @@
assertFalse(Infinity == -Infinity);
assertEquals(Infinity, 1 / 1e-9999);
assertEquals(-Infinity, 1 / -1e-9999);
-
diff --git a/test/mjsunit/regress/regress-619.js b/test/mjsunit/regress/regress-619.js
index 4d3e66b..c18a8ac 100644
--- a/test/mjsunit/regress/regress-619.js
+++ b/test/mjsunit/regress/regress-619.js
@@ -58,4 +58,3 @@
for(var i = 0; i < 1024; i++) {
assertEquals(i, obj[i]);
}
-
diff --git a/test/mjsunit/regress/regress-670147.js b/test/mjsunit/regress/regress-670147.js
index b5b00d0..916c13d 100644
--- a/test/mjsunit/regress/regress-670147.js
+++ b/test/mjsunit/regress/regress-670147.js
@@ -31,4 +31,3 @@
}
assertFalse(XXX('Hello'));
-
diff --git a/test/mjsunit/regress/regress-674753.js b/test/mjsunit/regress/regress-674753.js
index 361b457..b3704ea 100644
--- a/test/mjsunit/regress/regress-674753.js
+++ b/test/mjsunit/regress/regress-674753.js
@@ -84,4 +84,3 @@
assertFalse(typeof 'x' === 'object');
assertFalse(typeof Object == 'object');
assertFalse(typeof Object === 'object');
-
diff --git a/test/mjsunit/regress/regress-675.js b/test/mjsunit/regress/regress-675.js
index 19ca646..bef7b27 100644
--- a/test/mjsunit/regress/regress-675.js
+++ b/test/mjsunit/regress/regress-675.js
@@ -58,4 +58,3 @@
// Check that IC bails out.
assertEquals(42, g());
-
diff --git a/test/mjsunit/regress/regress-678525.js b/test/mjsunit/regress/regress-678525.js
index 11eaf74..49059c6 100644
--- a/test/mjsunit/regress/regress-678525.js
+++ b/test/mjsunit/regress/regress-678525.js
@@ -55,5 +55,3 @@
assertEquals(73, '\111'.charCodeAt(0));
assertEquals(105, '\151'.charCodeAt(0));
-
-
diff --git a/test/mjsunit/regress/regress-734862.js b/test/mjsunit/regress/regress-734862.js
index 6239047..40e5b1d 100644
--- a/test/mjsunit/regress/regress-734862.js
+++ b/test/mjsunit/regress/regress-734862.js
@@ -34,4 +34,3 @@
assertTrue(catcher(void 0, 'foo') instanceof TypeError);
assertTrue(catcher(null, 123) instanceof TypeError);
assertTrue(catcher(void 0, 123) instanceof TypeError);
-
diff --git a/test/mjsunit/regress/regress-74.js b/test/mjsunit/regress/regress-74.js
index f22b33c..bdc3b5c 100644
--- a/test/mjsunit/regress/regress-74.js
+++ b/test/mjsunit/regress/regress-74.js
@@ -38,4 +38,3 @@
}
test();
-
diff --git a/test/mjsunit/regress/regress-753.js b/test/mjsunit/regress/regress-753.js
index 4621de6..0253962 100644
--- a/test/mjsunit/regress/regress-753.js
+++ b/test/mjsunit/regress/regress-753.js
@@ -33,4 +33,3 @@
var obj = {a1: {b1: [1,2,3,4], b2: {c1: 1, c2: 2}},a2: 'a2'};
assertEquals(JSON.stringify(obj, null, 5.99999), JSON.stringify(obj, null, 5));
-
diff --git a/test/mjsunit/regress/regress-806473.js b/test/mjsunit/regress/regress-806473.js
index 6d6485d..91c9a9f 100644
--- a/test/mjsunit/regress/regress-806473.js
+++ b/test/mjsunit/regress/regress-806473.js
@@ -56,5 +56,3 @@
assertEquals(10, i);
assertEquals(10, j);
-
-
diff --git a/test/mjsunit/regress/regress-85177.js b/test/mjsunit/regress/regress-85177.js
index 275bbe7..aa938f5 100644
--- a/test/mjsunit/regress/regress-85177.js
+++ b/test/mjsunit/regress/regress-85177.js
@@ -62,4 +62,3 @@
f();
%OptimizeFunctionOnNextCall(f);
f();
-
diff --git a/test/mjsunit/regress/regress-892742.js b/test/mjsunit/regress/regress-892742.js
index 78a57b2..fd79fc0 100644
--- a/test/mjsunit/regress/regress-892742.js
+++ b/test/mjsunit/regress/regress-892742.js
@@ -45,4 +45,3 @@
assertEquals(1, f());
assertEquals(undefined, g());
assertEquals(undefined, h());
-
diff --git a/test/mjsunit/regress/regress-925537.js b/test/mjsunit/regress/regress-925537.js
index d50c568..6d75504 100644
--- a/test/mjsunit/regress/regress-925537.js
+++ b/test/mjsunit/regress/regress-925537.js
@@ -39,4 +39,3 @@
assertClose(-Math.PI / 4, Math.atan2(ninf, pinf));
assertClose( 3 * Math.PI / 4, Math.atan2(pinf, ninf));
assertClose(-3 * Math.PI / 4, Math.atan2(ninf, ninf));
-
diff --git a/test/mjsunit/regress/regress-94873.js b/test/mjsunit/regress/regress-94873.js
index 41ca992..b61bc0c 100644
--- a/test/mjsunit/regress/regress-94873.js
+++ b/test/mjsunit/regress/regress-94873.js
@@ -75,4 +75,4 @@
}
Debug.setBreakPoint(a, 0, 0);
-new a(1, 2);
\ No newline at end of file
+new a(1, 2);
diff --git a/test/mjsunit/regress/regress-990205.js b/test/mjsunit/regress/regress-990205.js
index b3024c2..7eb66f0 100644
--- a/test/mjsunit/regress/regress-990205.js
+++ b/test/mjsunit/regress/regress-990205.js
@@ -36,4 +36,3 @@
};
assertThrows("f()");
-
diff --git a/test/mjsunit/regress/regress-995.js b/test/mjsunit/regress/regress-995.js
index e88121a..6f3dac1 100644
--- a/test/mjsunit/regress/regress-995.js
+++ b/test/mjsunit/regress/regress-995.js
@@ -54,4 +54,3 @@
}
}
h(undefined);
-
diff --git a/test/mjsunit/regress/regress-998565.js b/test/mjsunit/regress/regress-998565.js
index 260b791..840c045 100644
--- a/test/mjsunit/regress/regress-998565.js
+++ b/test/mjsunit/regress/regress-998565.js
@@ -48,4 +48,4 @@
f();
// Make sure that the debug event listener vas invoked.
-assertTrue(listenerCalled);
\ No newline at end of file
+assertTrue(listenerCalled);
diff --git a/test/mjsunit/regress/regress-add-minus-zero.js b/test/mjsunit/regress/regress-add-minus-zero.js
index 0b4af75..cb77cdf 100644
--- a/test/mjsunit/regress/regress-add-minus-zero.js
+++ b/test/mjsunit/regress/regress-add-minus-zero.js
@@ -35,4 +35,3 @@
assertEquals("Infinity", String(1/f()));
%OptimizeFunctionOnNextCall(f);
assertEquals("Infinity", String(1/f()));
-
diff --git a/test/mjsunit/regress/regress-array-pop-nonconfigurable.js b/test/mjsunit/regress/regress-array-pop-nonconfigurable.js
index 129e198..823bb6b 100644
--- a/test/mjsunit/regress/regress-array-pop-nonconfigurable.js
+++ b/test/mjsunit/regress/regress-array-pop-nonconfigurable.js
@@ -28,4 +28,3 @@
var a = [];
Object.defineProperty(a, 0, {});
assertThrows(function() { a.pop(); });
-
diff --git a/test/mjsunit/regress/regress-binop-nosse2.js b/test/mjsunit/regress/regress-binop-nosse2.js
index c6cbaf7..29c8a04 100644
--- a/test/mjsunit/regress/regress-binop-nosse2.js
+++ b/test/mjsunit/regress/regress-binop-nosse2.js
@@ -165,4 +165,3 @@
assertEquals(t2(undefined,2), NaN/2);
assertEquals(t2(1,1<<30), 1/(1<<30));
assertEquals(t2(1,2), 1/2);
-
diff --git a/test/mjsunit/regress/regress-builtin-array-op.js b/test/mjsunit/regress/regress-builtin-array-op.js
index 1e37af3..ea5891f 100644
--- a/test/mjsunit/regress/regress-builtin-array-op.js
+++ b/test/mjsunit/regress/regress-builtin-array-op.js
@@ -35,4 +35,3 @@
a[100000] = 0;
a.join();
assertEquals("hest", foo);
-
diff --git a/test/mjsunit/regress/regress-clobbered-fp-regs.js b/test/mjsunit/regress/regress-clobbered-fp-regs.js
new file mode 100644
index 0000000..7795ae9
--- /dev/null
+++ b/test/mjsunit/regress/regress-clobbered-fp-regs.js
@@ -0,0 +1,54 @@
+// Copyright 2011 the V8 project authors. All rights reserved.
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following
+// disclaimer in the documentation and/or other materials provided
+// with the distribution.
+// * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived
+// from this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// Flags: --allow-natives-syntax
+
+function store(a, x, y) {
+ var f1 = 0.1 * y;
+ var f2 = 0.2 * y;
+ var f3 = 0.3 * y;
+ var f4 = 0.4 * y;
+ var f5 = 0.5 * y;
+ var f6 = 0.6 * y;
+ var f7 = 0.7 * y;
+ var f8 = 0.8 * y;
+ a[0] = x;
+ var sum = (f1 + f2 + f3 + f4 + f5 + f6 + f7 + f8);
+ assertEquals(1, y);
+ var expected = 3.6;
+ if (Math.abs(expected - sum) > 0.01) {
+ assertEquals(expected, sum);
+ }
+}
+
+// Generate TransitionElementsKindStub.
+store([1], 1, 1);
+store([1], 1.1, 1);
+store([1], 1.1, 1);
+%OptimizeFunctionOnNextCall(store);
+// This will trap on allocation site in TransitionElementsKindStub.
+store([1], 1, 1)
diff --git a/test/mjsunit/regress/regress-crbug-158185.js b/test/mjsunit/regress/regress-crbug-158185.js
index 99f19c7..5cb5900 100644
--- a/test/mjsunit/regress/regress-crbug-158185.js
+++ b/test/mjsunit/regress/regress-crbug-158185.js
@@ -36,4 +36,3 @@
assertEquals(1, JSON.parse('{"0":1}')[0]);
assertEquals(undefined, JSON.parse('{"00":1}')[0]);
-
diff --git a/test/mjsunit/regress/regress-crbug-178790.js b/test/mjsunit/regress/regress-crbug-178790.js
index 57071ea..25cc96b 100644
--- a/test/mjsunit/regress/regress-crbug-178790.js
+++ b/test/mjsunit/regress/regress-crbug-178790.js
@@ -49,4 +49,3 @@
r3 = "(" + r3 + ")a";
}
"test".match(RegExp(r3));
-
diff --git a/test/mjsunit/regress/regress-crbug-18639.js b/test/mjsunit/regress/regress-crbug-18639.js
index 4f4bb7c..6c8e6ad 100644
--- a/test/mjsunit/regress/regress-crbug-18639.js
+++ b/test/mjsunit/regress/regress-crbug-18639.js
@@ -35,4 +35,4 @@
((0).toLocaleString)();
} catch (e) {
assertInstanceof(e, TypeError);
-}
\ No newline at end of file
+}
diff --git a/test/mjsunit/regress/regress-crbug-222893.js b/test/mjsunit/regress/regress-crbug-222893.js
index d5baa7b..39363bc 100644
--- a/test/mjsunit/regress/regress-crbug-222893.js
+++ b/test/mjsunit/regress/regress-crbug-222893.js
@@ -61,4 +61,3 @@
g.apply(this, array);
g("a", "b", "c");
assertNull(error);
-
diff --git a/test/mjsunit/regress/regress-crbug-233737.js b/test/mjsunit/regress/regress-crbug-233737.js
index 835726b..38b44e0 100644
--- a/test/mjsunit/regress/regress-crbug-233737.js
+++ b/test/mjsunit/regress/regress-crbug-233737.js
@@ -39,4 +39,4 @@
assertEquals(1, hole(0));
assertEquals(1, hole(0));
%OptimizeFunctionOnNextCall(hole);
-assertEquals(0, hole(1));
\ No newline at end of file
+assertEquals(0, hole(1));
diff --git a/test/mjsunit/regress/regress-crbug-245480.js b/test/mjsunit/regress/regress-crbug-245480.js
index 4769486..1e7eb92 100644
--- a/test/mjsunit/regress/regress-crbug-245480.js
+++ b/test/mjsunit/regress/regress-crbug-245480.js
@@ -87,4 +87,4 @@
var b = [0];
g(b);
g(b);
-assertEquals(undefined, g(a));
\ No newline at end of file
+assertEquals(undefined, g(a));
diff --git a/test/mjsunit/regress/regress-crbug-259300.js b/test/mjsunit/regress/regress-crbug-259300.js
index c57b0e6..eac494a 100644
--- a/test/mjsunit/regress/regress-crbug-259300.js
+++ b/test/mjsunit/regress/regress-crbug-259300.js
@@ -46,4 +46,3 @@
eval("debugger");
Debug.setListener(null);
assertTrue(listened);
-
diff --git a/test/mjsunit/regress/regress-crbug-3184.js b/test/mjsunit/regress/regress-crbug-3184.js
index ed78183..054668e 100644
--- a/test/mjsunit/regress/regress-crbug-3184.js
+++ b/test/mjsunit/regress/regress-crbug-3184.js
@@ -80,4 +80,3 @@
});
assertEquals("Test1 test1", "test1 test1".cap());
assertEquals("Test2 Test2", "test2 test2".cap(true));
-
diff --git a/test/mjsunit/regress/regress-frame-details-null-receiver.js b/test/mjsunit/regress/regress-frame-details-null-receiver.js
index d15ed4d..ffe5fbb 100644
--- a/test/mjsunit/regress/regress-frame-details-null-receiver.js
+++ b/test/mjsunit/regress/regress-frame-details-null-receiver.js
@@ -49,4 +49,3 @@
Debug.setListener(null);
assertTrue(listened);
-
diff --git a/test/mjsunit/regress/regress-map-invalidation-1.js b/test/mjsunit/regress/regress-map-invalidation-1.js
index bcc6bbb..53f4c1e 100644
--- a/test/mjsunit/regress/regress-map-invalidation-1.js
+++ b/test/mjsunit/regress/regress-map-invalidation-1.js
@@ -45,4 +45,3 @@
}
f();
-
diff --git a/test/mjsunit/regress/regress-seqstrsetchar-ex1.js b/test/mjsunit/regress/regress-seqstrsetchar-ex1.js
index be54be6..c85cf56 100644
--- a/test/mjsunit/regress/regress-seqstrsetchar-ex1.js
+++ b/test/mjsunit/regress/regress-seqstrsetchar-ex1.js
@@ -57,4 +57,3 @@
%OptimizeFunctionOnNextCall(StringFromCharCode);
StringFromCharCode(0x7C, 0x7C);
StringFromCharCode(0xFFF, 0xFFF);
-
diff --git a/test/mjsunit/regress/regress-seqstrsetchar-ex2.js b/test/mjsunit/regress/regress-seqstrsetchar-ex2.js
index 6acc2f2..6a5ba91 100644
--- a/test/mjsunit/regress/regress-seqstrsetchar-ex2.js
+++ b/test/mjsunit/regress/regress-seqstrsetchar-ex2.js
@@ -32,4 +32,3 @@
%OptimizeFunctionOnNextCall(String.fromCharCode);
String.fromCharCode(0x7C, 0x7C);
String.fromCharCode(0xFFF, 0xFFF);
-
diff --git a/test/mjsunit/regress/regress-seqstrsetchar-ex3.js b/test/mjsunit/regress/regress-seqstrsetchar-ex3.js
index e2592a1..43d2b08 100644
--- a/test/mjsunit/regress/regress-seqstrsetchar-ex3.js
+++ b/test/mjsunit/regress/regress-seqstrsetchar-ex3.js
@@ -42,4 +42,3 @@
test();
%OptimizeFunctionOnNextCall(test);
test();
-
diff --git a/test/mjsunit/regress/regress-transcendental.js b/test/mjsunit/regress/regress-transcendental.js
index b5dbcb4..4065f50 100644
--- a/test/mjsunit/regress/regress-transcendental.js
+++ b/test/mjsunit/regress/regress-transcendental.js
@@ -46,4 +46,3 @@
test(Math.tan, -1.57079632679489660000, "Math.tan");
test(Math.sin, 6.283185307179586, "Math.sin");
-
diff --git a/test/mjsunit/simple-constructor.js b/test/mjsunit/simple-constructor.js
index e9ae921..391ef3d 100755
--- a/test/mjsunit/simple-constructor.js
+++ b/test/mjsunit/simple-constructor.js
@@ -137,4 +137,3 @@
o = new g();
assertEquals(1, o.x);
assertEquals(2, o.y);
-
diff --git a/test/mjsunit/sparse-array.js b/test/mjsunit/sparse-array.js
index 0952f2c..114ab0a 100644
--- a/test/mjsunit/sparse-array.js
+++ b/test/mjsunit/sparse-array.js
@@ -37,5 +37,3 @@
array[i * stride] = i;
}
}
-
-
diff --git a/test/mjsunit/stack-traces-2.js b/test/mjsunit/stack-traces-2.js
index 165c4df..3bec963 100644
--- a/test/mjsunit/stack-traces-2.js
+++ b/test/mjsunit/stack-traces-2.js
@@ -84,4 +84,4 @@
}, "QuickSort");
// Not omitted even though ADD from runtime.js is a non-native builtin.
-testNotOmittedBuiltin(function(){ thrower + 2; }, "ADD");
\ No newline at end of file
+testNotOmittedBuiltin(function(){ thrower + 2; }, "ADD");
diff --git a/test/mjsunit/stack-traces-custom-lazy.js b/test/mjsunit/stack-traces-custom-lazy.js
index 91d97f3..02a465e 100644
--- a/test/mjsunit/stack-traces-custom-lazy.js
+++ b/test/mjsunit/stack-traces-custom-lazy.js
@@ -46,4 +46,3 @@
testPrepareStackTrace(function() { throw new Error("foo"); });
testPrepareStackTrace(function f() { f(); });
-
diff --git a/test/mjsunit/store-dictionary.js b/test/mjsunit/store-dictionary.js
index 45e254b..377352f 100644
--- a/test/mjsunit/store-dictionary.js
+++ b/test/mjsunit/store-dictionary.js
@@ -62,4 +62,3 @@
delete o.x;
store(o);
assertEquals(42, o.x);
-
diff --git a/test/mjsunit/str-to-num.js b/test/mjsunit/str-to-num.js
index cbec87f..8c9a307 100644
--- a/test/mjsunit/str-to-num.js
+++ b/test/mjsunit/str-to-num.js
@@ -211,4 +211,4 @@
assertTrue(isNaN(toNumber("+0x012")));
assertTrue(isNaN(toNumber("-0x0")));
assertTrue(isNaN(toNumber("-0xFF")));
-assertTrue(isNaN(toNumber("-0x012")));
\ No newline at end of file
+assertTrue(isNaN(toNumber("-0x012")));
diff --git a/test/mjsunit/strict-equals.js b/test/mjsunit/strict-equals.js
index d080ce8..d5577c7 100644
--- a/test/mjsunit/strict-equals.js
+++ b/test/mjsunit/strict-equals.js
@@ -84,7 +84,3 @@
assertFalse(1 === new Number(1));
assertTrue(4.2 === 4.2);
assertTrue(4.2 === Number(4.2));
-
-
-
-
diff --git a/test/mjsunit/string-natives.js b/test/mjsunit/string-natives.js
index cd1cde1..7a9009b 100644
--- a/test/mjsunit/string-natives.js
+++ b/test/mjsunit/string-natives.js
@@ -77,4 +77,3 @@
test();
%OptimizeFunctionOnNextCall(test);
test();
-
diff --git a/test/mjsunit/string-replace-gc.js b/test/mjsunit/string-replace-gc.js
index 73b310f..2f1efd8 100644
--- a/test/mjsunit/string-replace-gc.js
+++ b/test/mjsunit/string-replace-gc.js
@@ -53,4 +53,3 @@
var bar = foo.replace(/[a]/g, moving_string);
print(bar.length);
-
diff --git a/test/mjsunit/string-search.js b/test/mjsunit/string-search.js
index 4de17bc..037725b 100644
--- a/test/mjsunit/string-search.js
+++ b/test/mjsunit/string-search.js
@@ -37,4 +37,3 @@
var r = s.search(s);
assertEquals(0, r);
}
-
diff --git a/test/mjsunit/string-slices.js b/test/mjsunit/string-slices.js
index 5b1dc36..f5e1d91 100755
--- a/test/mjsunit/string-slices.js
+++ b/test/mjsunit/string-slices.js
@@ -222,4 +222,4 @@
test_crankshaft();
%OptimizeFunctionOnNextCall(test_crankshaft);
-test_crankshaft();
\ No newline at end of file
+test_crankshaft();
diff --git a/test/mjsunit/to-precision.js b/test/mjsunit/to-precision.js
index 04c7d76..ded7185 100644
--- a/test/mjsunit/to-precision.js
+++ b/test/mjsunit/to-precision.js
@@ -79,4 +79,3 @@
assertEquals("-91.1234", (-91.1234).toPrecision(6));
assertEquals("-91.12340", (-91.1234).toPrecision(7));
assertEquals("-91.123400", (-91.1234).toPrecision(8));
-
diff --git a/test/mjsunit/tobool.js b/test/mjsunit/tobool.js
index 65bffb6..44a5a3c 100644
--- a/test/mjsunit/tobool.js
+++ b/test/mjsunit/tobool.js
@@ -32,5 +32,3 @@
assertTrue(!!new Number(-1), "new Number(-1)");
assertTrue(!!new Number(0), "new Number(0)");
assertTrue(!!new Number(1), "new Number(1)");
-
-
diff --git a/test/mjsunit/tools/profile.js b/test/mjsunit/tools/profile.js
index 4df1a08..0f79aea 100644
--- a/test/mjsunit/tools/profile.js
+++ b/test/mjsunit/tools/profile.js
@@ -345,4 +345,3 @@
}
})();
-
diff --git a/test/mjsunit/touint32.js b/test/mjsunit/touint32.js
index f06bddf..9c4cc36 100644
--- a/test/mjsunit/touint32.js
+++ b/test/mjsunit/touint32.js
@@ -68,5 +68,3 @@
assertEquals(4294967295, ToUInt32('4294967295'), "'4294967295'");
assertEquals(0, ToUInt32('4294967296'), "'4294967296'");
assertEquals(1, ToUInt32('4294967297'), "'4294967297'");
-
-
diff --git a/test/mjsunit/transcendentals.js b/test/mjsunit/transcendentals.js
index 78e6c48..2a75d6d 100644
--- a/test/mjsunit/transcendentals.js
+++ b/test/mjsunit/transcendentals.js
@@ -46,4 +46,3 @@
assertTrue(Math.atan(x) != Math.atan(y));
assertTrue(Math.exp(x) != Math.exp(y));
-
diff --git a/test/mjsunit/try-finally-continue.js b/test/mjsunit/try-finally-continue.js
index b55e7ac..5e04930 100644
--- a/test/mjsunit/try-finally-continue.js
+++ b/test/mjsunit/try-finally-continue.js
@@ -69,4 +69,4 @@
}
}
}
-assertEquals(9, f);
\ No newline at end of file
+assertEquals(9, f);
diff --git a/test/mjsunit/unicode-string-to-number.js b/test/mjsunit/unicode-string-to-number.js
index 13a7acf..2376a60 100644
--- a/test/mjsunit/unicode-string-to-number.js
+++ b/test/mjsunit/unicode-string-to-number.js
@@ -43,4 +43,3 @@
s += s;
}
assertTrue(isNaN(Number(s)), "long-string");
-
diff --git a/test/mjsunit/unicode-test.js b/test/mjsunit/unicode-test.js
index 66a029a..5be1b41 100644
--- a/test/mjsunit/unicode-test.js
+++ b/test/mjsunit/unicode-test.js
@@ -9165,5 +9165,3 @@
var thai_l_regexp2 = new RegExp("[" + thai_l_thingy + "]");
assertTrue(thai_l_regexp.test(thai_l_thingy));
assertTrue(thai_l_regexp2.test(thai_l_thingy));
-
-
diff --git a/test/mjsunit/with-value.js b/test/mjsunit/with-value.js
index a4da1fa..f7a89f3 100644
--- a/test/mjsunit/with-value.js
+++ b/test/mjsunit/with-value.js
@@ -35,4 +35,4 @@
/* This should be fairly easy again. May need some work in the
compiler's VisitWith() function, or perhaps the runtime routine's
PushContextForWith().
-*/
\ No newline at end of file
+*/