Commit 0fde744d authored by hpayer@chromium.org's avatar hpayer@chromium.org

Escape % in SNPrintF call in pretenuring test.

BUG=
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/298183002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21513 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 84e078e5
...@@ -2213,7 +2213,7 @@ TEST(OptimizedPretenuringAllocationFolding) { ...@@ -2213,7 +2213,7 @@ TEST(OptimizedPretenuringAllocationFolding) {
"};" "};"
"f(); gc();" "f(); gc();"
"f(); f();" "f(); f();"
"%OptimizeFunctionOnNextCall(f);" "%%OptimizeFunctionOnNextCall(f);"
"f();", "f();",
AllocationSite::kPretenureMinimumCreated); AllocationSite::kPretenureMinimumCreated);
...@@ -2257,7 +2257,7 @@ TEST(OptimizedPretenuringObjectArrayLiterals) { ...@@ -2257,7 +2257,7 @@ TEST(OptimizedPretenuringObjectArrayLiterals) {
"};" "};"
"f(); gc();" "f(); gc();"
"f(); f();" "f(); f();"
"%OptimizeFunctionOnNextCall(f);" "%%OptimizeFunctionOnNextCall(f);"
"f();", "f();",
AllocationSite::kPretenureMinimumCreated); AllocationSite::kPretenureMinimumCreated);
...@@ -2292,7 +2292,7 @@ TEST(OptimizedPretenuringMixedInObjectProperties) { ...@@ -2292,7 +2292,7 @@ TEST(OptimizedPretenuringMixedInObjectProperties) {
"};" "};"
"f(); gc();" "f(); gc();"
"f(); f();" "f(); f();"
"%OptimizeFunctionOnNextCall(f);" "%%OptimizeFunctionOnNextCall(f);"
"f();", "f();",
AllocationSite::kPretenureMinimumCreated); AllocationSite::kPretenureMinimumCreated);
...@@ -2333,7 +2333,7 @@ TEST(OptimizedPretenuringDoubleArrayProperties) { ...@@ -2333,7 +2333,7 @@ TEST(OptimizedPretenuringDoubleArrayProperties) {
"};" "};"
"f(); gc();" "f(); gc();"
"f(); f();" "f(); f();"
"%OptimizeFunctionOnNextCall(f);" "%%OptimizeFunctionOnNextCall(f);"
"f();", "f();",
AllocationSite::kPretenureMinimumCreated); AllocationSite::kPretenureMinimumCreated);
...@@ -2368,7 +2368,7 @@ TEST(OptimizedPretenuringdoubleArrayLiterals) { ...@@ -2368,7 +2368,7 @@ TEST(OptimizedPretenuringdoubleArrayLiterals) {
"};" "};"
"f(); gc();" "f(); gc();"
"f(); f();" "f(); f();"
"%OptimizeFunctionOnNextCall(f);" "%%OptimizeFunctionOnNextCall(f);"
"f();", "f();",
AllocationSite::kPretenureMinimumCreated); AllocationSite::kPretenureMinimumCreated);
...@@ -2403,7 +2403,7 @@ TEST(OptimizedPretenuringNestedMixedArrayLiterals) { ...@@ -2403,7 +2403,7 @@ TEST(OptimizedPretenuringNestedMixedArrayLiterals) {
"};" "};"
"f(); gc();" "f(); gc();"
"f(); f();" "f(); f();"
"%OptimizeFunctionOnNextCall(f);" "%%OptimizeFunctionOnNextCall(f);"
"f();", "f();",
AllocationSite::kPretenureMinimumCreated); AllocationSite::kPretenureMinimumCreated);
...@@ -2447,7 +2447,7 @@ TEST(OptimizedPretenuringNestedObjectLiterals) { ...@@ -2447,7 +2447,7 @@ TEST(OptimizedPretenuringNestedObjectLiterals) {
"};" "};"
"f(); gc();" "f(); gc();"
"f(); f();" "f(); f();"
"%OptimizeFunctionOnNextCall(f);" "%%OptimizeFunctionOnNextCall(f);"
"f();", "f();",
AllocationSite::kPretenureMinimumCreated); AllocationSite::kPretenureMinimumCreated);
...@@ -2491,7 +2491,7 @@ TEST(OptimizedPretenuringNestedDoubleLiterals) { ...@@ -2491,7 +2491,7 @@ TEST(OptimizedPretenuringNestedDoubleLiterals) {
"};" "};"
"f(); gc();" "f(); gc();"
"f(); f();" "f(); f();"
"%OptimizeFunctionOnNextCall(f);" "%%OptimizeFunctionOnNextCall(f);"
"f();", "f();",
AllocationSite::kPretenureMinimumCreated); AllocationSite::kPretenureMinimumCreated);
...@@ -2547,7 +2547,7 @@ TEST(OptimizedPretenuringConstructorCalls) { ...@@ -2547,7 +2547,7 @@ TEST(OptimizedPretenuringConstructorCalls) {
"};" "};"
"f(); gc();" "f(); gc();"
"f(); f();" "f(); f();"
"%OptimizeFunctionOnNextCall(f);" "%%OptimizeFunctionOnNextCall(f);"
"f();", "f();",
AllocationSite::kPretenureMinimumCreated); AllocationSite::kPretenureMinimumCreated);
...@@ -2586,7 +2586,7 @@ TEST(OptimizedPretenuringCallNew) { ...@@ -2586,7 +2586,7 @@ TEST(OptimizedPretenuringCallNew) {
"};" "};"
"f(); gc();" "f(); gc();"
"f(); f();" "f(); f();"
"%OptimizeFunctionOnNextCall(f);" "%%OptimizeFunctionOnNextCall(f);"
"f();", "f();",
AllocationSite::kPretenureMinimumCreated); AllocationSite::kPretenureMinimumCreated);
......
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