Commit 7ef542dc authored by Igor Sheludko's avatar Igor Sheludko Committed by Commit Bot

[tests] Change '% OptimizeFunctionOnNextCall' to ' %OptimizeFunctionOnNextCall'.

TBR=machenbach@chromium.org

Bug: v8:6457
Change-Id: I75cf773941fc4f3eb6878df14f757ba1d2e23926
Reviewed-on: https://chromium-review.googlesource.com/522647Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
Commit-Queue: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45697}
parent fb096eea
......@@ -44,7 +44,7 @@ function listener(event, exec_state, event_data, data) {
Debug.setListener(listener);
Debug.setBreakOnException();
% OptimizeFunctionOnNextCall(h);
%OptimizeFunctionOnNextCall(h);
h();
Debug.setListener(null);
assertNull(exception);
......@@ -38,7 +38,7 @@ function listener(event, exec_state, event_data, data) {
}
Debug.setListener(listener);
% OptimizeFunctionOnNextCall(h);
%OptimizeFunctionOnNextCall(h);
h();
Debug.setListener(null);
assertNull(exception);
......
......@@ -15,5 +15,5 @@ function f() {
f();
f();
% OptimizeFunctionOnNextCall(f);
%OptimizeFunctionOnNextCall(f);
f();
......@@ -13,5 +13,5 @@ function f() {
}
f();
f();
% OptimizeFunctionOnNextCall(f);
%OptimizeFunctionOnNextCall(f);
f();
......@@ -13,5 +13,5 @@ function f() {
}
f();
f();
% OptimizeFunctionOnNextCall(f);
%OptimizeFunctionOnNextCall(f);
f();
......@@ -17,7 +17,7 @@
testMax(1, 2);
testMax(1, 2);
% OptimizeFunctionOnNextCall(testMax);
%OptimizeFunctionOnNextCall(testMax);
var r = testMax(1, 2);
assertEquals(2, r);
......
......@@ -22,7 +22,7 @@
testMax(1, 2);
testMax(1, 2);
% OptimizeFunctionOnNextCall(testMax);
%OptimizeFunctionOnNextCall(testMax);
var r = testMax(1, 2);
assertEquals(2, r);
......
......@@ -10,7 +10,7 @@
function testBaselineAndOpt(func) {
func(-1, -2);
func(-1, -2);
% OptimizeFunctionOnNextCall(func);
%OptimizeFunctionOnNextCall(func);
return func(-1, -2);
}
......@@ -78,7 +78,7 @@
function testBaselineAndOpt(func) {
func(-1, -2);
func(-1, -2);
% OptimizeFunctionOnNextCall(func);
%OptimizeFunctionOnNextCall(func);
return func(-1, -2);
}
......
......@@ -25,7 +25,7 @@
}
testRestPoint(1, 2);
testRestPoint(1, 2);
% OptimizeFunctionOnNextCall(testRestPoint);
%OptimizeFunctionOnNextCall(testRestPoint);
var r = testRestPoint(1, 2);
assertInstanceof(r, RestPoint);
......
......@@ -30,7 +30,7 @@
}
testArgumentsPoint(1, 2);
testArgumentsPoint(1, 2);
% OptimizeFunctionOnNextCall(testArgumentsPoint);
%OptimizeFunctionOnNextCall(testArgumentsPoint);
var r = testArgumentsPoint(1, 2);
assertInstanceof(r, ArgumentsPoint);
......
......@@ -17,7 +17,7 @@
function testBaselineAndOpt(func) {
func(1, 2);
func(1, 2);
% OptimizeFunctionOnNextCall(func);
%OptimizeFunctionOnNextCall(func);
return func(1, 2);
}
......
......@@ -90,5 +90,5 @@ function __f_6() {
equals(__v_6[0]);
}
__f_6();
__f_6(); % OptimizeFunctionOnNextCall(__f_6);
__f_6(); %OptimizeFunctionOnNextCall(__f_6);
__f_6();
......@@ -215,7 +215,7 @@ for (var lengthIndex = 0; lengthIndex < lengths.length; lengthIndex++) {
assertEquals(0, f());
assertEquals(0, f());
assertEquals(0, f());
% OptimizeFunctionOnNextCall(f);
%OptimizeFunctionOnNextCall(f);
assertEquals(0, f());
function f2() {
......@@ -224,7 +224,7 @@ for (var lengthIndex = 0; lengthIndex < lengths.length; lengthIndex++) {
assertEquals(-1, f2());
assertEquals(-1, f2());
assertEquals(-1, f2());
% OptimizeFunctionOnNextCall(f2);
%OptimizeFunctionOnNextCall(f2);
assertEquals(-1, f2());
function f3() {
......@@ -233,7 +233,7 @@ for (var lengthIndex = 0; lengthIndex < lengths.length; lengthIndex++) {
assertEquals(0, f3());
assertEquals(0, f3());
assertEquals(0, f3());
% OptimizeFunctionOnNextCall(f3);
%OptimizeFunctionOnNextCall(f3);
assertEquals(0, f3());
function f4() {
......@@ -242,7 +242,7 @@ for (var lengthIndex = 0; lengthIndex < lengths.length; lengthIndex++) {
assertEquals(3, f4());
assertEquals(3, f4());
assertEquals(3, f4());
% OptimizeFunctionOnNextCall(f4);
%OptimizeFunctionOnNextCall(f4);
assertEquals(3, f4());
function f5() {
......@@ -251,7 +251,7 @@ for (var lengthIndex = 0; lengthIndex < lengths.length; lengthIndex++) {
assertEquals(1, f5());
assertEquals(1, f5());
assertEquals(1, f5());
% OptimizeFunctionOnNextCall(f5);
%OptimizeFunctionOnNextCall(f5);
assertEquals(1, f5());
function f6() {
......@@ -260,7 +260,7 @@ for (var lengthIndex = 0; lengthIndex < lengths.length; lengthIndex++) {
assertEquals(1, f6());
assertEquals(1, f6());
assertEquals(1, f6());
% OptimizeFunctionOnNextCall(f6);
%OptimizeFunctionOnNextCall(f6);
assertEquals(1, f6());
})();
......
......@@ -15,7 +15,7 @@
foo();
foo();
% OptimizeFunctionOnNextCall(foo);
%OptimizeFunctionOnNextCall(foo);
foo();
gc();
assertOptimized(foo);
......@@ -32,7 +32,7 @@
var a = [1, 2, 3];
print(mapPlus(a, 1));
print(mapPlus(a, 2));
% OptimizeFunctionOnNextCall(hot);
%OptimizeFunctionOnNextCall(hot);
print(mapPlus(a, 3));
gc(); // BOOOM!
assertOptimized(hot);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment