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

Unified Diff: test/cctest/test-heap.cc

Issue 298183002: Escape % in SNPrintF call in pretenuring test. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-heap.cc
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
index ce0cec18d3639898763aa84cf2ee3c41a83706f2..382318c7a96af3c1e88329e9ae403a53d63aeae2 100644
--- a/test/cctest/test-heap.cc
+++ b/test/cctest/test-heap.cc
@@ -2213,7 +2213,7 @@ TEST(OptimizedPretenuringAllocationFolding) {
"};"
"f(); gc();"
"f(); f();"
- "%OptimizeFunctionOnNextCall(f);"
+ "%%OptimizeFunctionOnNextCall(f);"
"f();",
AllocationSite::kPretenureMinimumCreated);
@@ -2257,7 +2257,7 @@ TEST(OptimizedPretenuringObjectArrayLiterals) {
"};"
"f(); gc();"
"f(); f();"
- "%OptimizeFunctionOnNextCall(f);"
+ "%%OptimizeFunctionOnNextCall(f);"
"f();",
AllocationSite::kPretenureMinimumCreated);
@@ -2292,7 +2292,7 @@ TEST(OptimizedPretenuringMixedInObjectProperties) {
"};"
"f(); gc();"
"f(); f();"
- "%OptimizeFunctionOnNextCall(f);"
+ "%%OptimizeFunctionOnNextCall(f);"
"f();",
AllocationSite::kPretenureMinimumCreated);
@@ -2333,7 +2333,7 @@ TEST(OptimizedPretenuringDoubleArrayProperties) {
"};"
"f(); gc();"
"f(); f();"
- "%OptimizeFunctionOnNextCall(f);"
+ "%%OptimizeFunctionOnNextCall(f);"
"f();",
AllocationSite::kPretenureMinimumCreated);
@@ -2368,7 +2368,7 @@ TEST(OptimizedPretenuringdoubleArrayLiterals) {
"};"
"f(); gc();"
"f(); f();"
- "%OptimizeFunctionOnNextCall(f);"
+ "%%OptimizeFunctionOnNextCall(f);"
"f();",
AllocationSite::kPretenureMinimumCreated);
@@ -2403,7 +2403,7 @@ TEST(OptimizedPretenuringNestedMixedArrayLiterals) {
"};"
"f(); gc();"
"f(); f();"
- "%OptimizeFunctionOnNextCall(f);"
+ "%%OptimizeFunctionOnNextCall(f);"
"f();",
AllocationSite::kPretenureMinimumCreated);
@@ -2447,7 +2447,7 @@ TEST(OptimizedPretenuringNestedObjectLiterals) {
"};"
"f(); gc();"
"f(); f();"
- "%OptimizeFunctionOnNextCall(f);"
+ "%%OptimizeFunctionOnNextCall(f);"
"f();",
AllocationSite::kPretenureMinimumCreated);
@@ -2491,7 +2491,7 @@ TEST(OptimizedPretenuringNestedDoubleLiterals) {
"};"
"f(); gc();"
"f(); f();"
- "%OptimizeFunctionOnNextCall(f);"
+ "%%OptimizeFunctionOnNextCall(f);"
"f();",
AllocationSite::kPretenureMinimumCreated);
@@ -2547,7 +2547,7 @@ TEST(OptimizedPretenuringConstructorCalls) {
"};"
"f(); gc();"
"f(); f();"
- "%OptimizeFunctionOnNextCall(f);"
+ "%%OptimizeFunctionOnNextCall(f);"
"f();",
AllocationSite::kPretenureMinimumCreated);
@@ -2586,7 +2586,7 @@ TEST(OptimizedPretenuringCallNew) {
"};"
"f(); gc();"
"f(); f();"
- "%OptimizeFunctionOnNextCall(f);"
+ "%%OptimizeFunctionOnNextCall(f);"
"f();",
AllocationSite::kPretenureMinimumCreated);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698