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

Unified Diff: test/mjsunit/compiler/manual-concurrent-recompile.js

Issue 2467223004: [Tests] Fix some concurrent optimization tests on Ignition. (Closed)
Patch Set: Created 4 years, 1 month 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 | test/mjsunit/mjsunit.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/compiler/manual-concurrent-recompile.js
diff --git a/test/mjsunit/compiler/manual-concurrent-recompile.js b/test/mjsunit/compiler/manual-concurrent-recompile.js
index b2b63988babf7c8a9af561d126dc65a592b73747..66245ef073f6456043a9a9042d79ee24d247d728 100644
--- a/test/mjsunit/compiler/manual-concurrent-recompile.js
+++ b/test/mjsunit/compiler/manual-concurrent-recompile.js
@@ -53,9 +53,15 @@ f(g(1));
assertUnoptimized(f);
assertUnoptimized(g);
+%BaselineFunctionOnNextCall(f);
+%BaselineFunctionOnNextCall(g);
+f(g(2));
+assertUnoptimized(f);
+assertUnoptimized(g);
+
%OptimizeFunctionOnNextCall(f, "concurrent");
%OptimizeFunctionOnNextCall(g, "concurrent");
-f(g(2)); // Kick off recompilation.
+f(g(3)); // Kick off recompilation.
assertUnoptimized(f, "no sync"); // Not yet optimized since recompilation
assertUnoptimized(g, "no sync"); // is still blocked.
« no previous file with comments | « no previous file | test/mjsunit/mjsunit.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698