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

Unified Diff: test/mjsunit/deopt-with-fp-regs.js

Issue 2655223003: Revert of [tests] Make assertOptimized()/assertUnoptimized() great again. (Closed)
Patch Set: Created 3 years, 11 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 | « test/mjsunit/concurrent-initial-prototype-change.js ('k') | test/mjsunit/ensure-growing-store-learns.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/deopt-with-fp-regs.js
diff --git a/test/mjsunit/deopt-with-fp-regs.js b/test/mjsunit/deopt-with-fp-regs.js
index 2a27850aa48de1729f6d8fd5cfa689607a84b494..10e3d9abb3ab3df80340667180fd570017f41ac8 100644
--- a/test/mjsunit/deopt-with-fp-regs.js
+++ b/test/mjsunit/deopt-with-fp-regs.js
@@ -81,10 +81,10 @@
test(10.0, 20.0, 30.0, 40.0, 50.0, 1.5);
%OptimizeFunctionOnNextCall(test);
test(10.0, 20.0, 30.0, 40.0, 50.0, 1.5);
-assertOptimized(test);
+assertTrue(2 != %GetOptimizationStatus(test));
// By deleting the field we are forcing the code to deopt when the field is
// read on next execution.
delete deopt_trigger;
test(10.0, 20.0, 30.0, 40.0, 50.0, 1.5);
-assertUnoptimized(test);
+assertTrue(1 != %GetOptimizationStatus(test));
« no previous file with comments | « test/mjsunit/concurrent-initial-prototype-change.js ('k') | test/mjsunit/ensure-growing-store-learns.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698