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

Unified Diff: test/mjsunit/regress/regress-2618.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/never-optimize.js ('k') | test/mjsunit/regress/regress-3709.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-2618.js
diff --git a/test/mjsunit/regress/regress-2618.js b/test/mjsunit/regress/regress-2618.js
index 56f6bf10e61a6f4ac27c34ad1f72625f106b553e..faffc5bf47d247a0f8830f363cd9495d804993a8 100644
--- a/test/mjsunit/regress/regress-2618.js
+++ b/test/mjsunit/regress/regress-2618.js
@@ -25,9 +25,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Flags: --use-osr --allow-natives-syntax --ignition-osr --crankshaft
-
-assertFalse(isNeverOptimize());
+// Flags: --use-osr --allow-natives-syntax --ignition-osr
function f() {
do {
@@ -38,7 +36,7 @@
}
f();
-assertTrue(%GetOptimizationCount(f) > 0);
+assertTrue(%GetOptimizationCount(f) > 0 || %GetOptimizationStatus(f) == 4);
function g() {
for (var i = 0; i < 1; i++) { }
@@ -69,4 +67,4 @@
}
g();
-assertTrue(%GetOptimizationCount(g) > 0);
+assertTrue(%GetOptimizationCount(g) > 0 || %GetOptimizationStatus(g) == 4);
« no previous file with comments | « test/mjsunit/never-optimize.js ('k') | test/mjsunit/regress/regress-3709.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698